{
  "_id": "6a1041a1acfb0bcc41c9d82b",
  "Package": "motifr",
  "Title": "Motif Analysis in Multi-Level Networks",
  "Version": "1.0.0",
  "Date": "2020-12-01",
  "Authors@R": "c(person(given = \"Mario\",\nfamily = \"Angst\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mario.angst@gmail.com\",\ncomment = c(ORCID = \"0000-0002-8297-9827\")),\nperson(given = \"Tim\",\nfamily = \"Seppelt\",\nrole = \"aut\",\nemail = \"seppelt@cs.rwth-aachen.de\",\ncomment = c(ORCID = \"0000-0002-6447-0568\")))",
  "Description": "Tools for motif analysis in multi-level networks.\nMulti-level networks combine multiple networks in one, e.g.\nsocial-ecological networks. Motifs are small configurations of\nnodes and edges (subgraphs) occurring in networks. 'motifr' can\nvisualize multi-level networks, count multi-level network\nmotifs and compare motif occurrences to baseline models. It\nalso identifies contributions of existing or potential edges to\nmotifs to find critical or missing edges. The package is in\nmany parts an R wrapper for the excellent 'SESMotifAnalyser'\n'Python' package written by Tim Seppelt.",
  "License": "MIT + file LICENSE",
  "URL": "https://marioangst.github.io/motifr/",
  "BugReports": "https://github.com/marioangst/motifr/issues",
  "VignetteBuilder": "knitr",
  "Config/reticulate": "list( packages = list( list(package = \"sma\", pip =\nTRUE), list(package = \"networkx\", pip = TRUE) ) )",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "SystemRequirements": "Python (>= 3.0.0), numpy, pandas",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibglpk-dev make libicu-dev libpng-dev libuv1-dev libxml2-dev\npython3 zlib1g-dev",
  "Repository": "https://marioangst.r-universe.dev",
  "Date/Publication": "2021-05-24 14:32:42 UTC",
  "RemoteUrl": "https://github.com/marioangst/motifr",
  "RemoteRef": "HEAD",
  "RemoteSha": "5c7b65acfc2322d0d38cee91653c96155db739e7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 07:43:52 UTC",
    "User": "root"
  },
  "Author": "Mario Angst [aut, cre] (ORCID: <https://orcid.org/0000-0002-8297-9827>),\nTim Seppelt [aut] (ORCID: <https://orcid.org/0000-0002-6447-0568>)",
  "Maintainer": "Mario Angst <mario.angst@gmail.com>",
  "MD5sum": "22283fa46ec8ef372e8b1b45daecb8ad",
  "_user": "marioangst",
  "_type": "src",
  "_file": "motifr_1.0.0.tar.gz",
  "_fileid": "45471fc86dffb2ccab5b83081047d73130d554b5c54bd76846ac8a75792cdb84",
  "_filesize": 905128,
  "_sha256": "45471fc86dffb2ccab5b83081047d73130d554b5c54bd76846ac8a75792cdb84",
  "_created": "2026-05-11T07:43:52.000Z",
  "_published": "2026-05-22T11:44:33.522Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77372782987,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912937977"
    },
    {
      "job": 77372782740,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912940599"
    },
    {
      "job": 77372782874,
      "time": 167,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912927247"
    },
    {
      "job": 77372782801,
      "time": 187,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912931923"
    },
    {
      "job": 77372782390,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912885590"
    },
    {
      "job": 77372782423,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159680943"
    },
    {
      "job": 77372783006,
      "time": 159,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6912933859"
    },
    {
      "job": 77372783115,
      "time": 163,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6912935293"
    },
    {
      "job": 77372783124,
      "time": 171,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6912937567"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/marioangst/motifr",
  "_commit": {
    "id": "5c7b65acfc2322d0d38cee91653c96155db739e7",
    "author": "Mario Angst <mario.angst@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.Rmd",
    "time": 1621866762
  },
  "_maintainer": {
    "name": "Mario Angst",
    "email": "mario.angst@gmail.com",
    "login": "marioangst",
    "mastodon": "@mario_angst_sci@fediscience.org",
    "uuid": 19803038,
    "orcid": "0000-0002-8297-9827"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "ggraph",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "intergraph",
      "role": "Imports"
    },
    {
      "package": "network",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidygraph",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "ergm",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    }
  ],
  "_owner": "marioangst",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "tseppelt",
      "count": 128,
      "uuid": 62835138
    },
    {
      "user": "marioangst",
      "count": 87,
      "uuid": 19803038
    }
  ],
  "_userbio": {
    "uuid": 19803038,
    "type": "user",
    "name": "Mario Angst",
    "description": "Lecturer, Institute Urban Landscape, ZHAW\r\nPostdoc, Digital Society Initiative, UZH"
  },
  "_downloads": {
    "count": 219,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/motifr"
  },
  "_devurl": "https://github.com/marioangst/motifr",
  "_pkgdown": "https://marioangst.github.io/motifr/",
  "_searchresults": 18,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/motifr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/marioangst/motifr",
  "_realowner": "marioangst",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-12-10"
    }
  ],
  "_exports": [
    "compare_to_baseline",
    "count_motifs",
    "critical_dyads",
    "edge_contribution",
    "exemplify_motif",
    "explore_motifs",
    "identify_gaps",
    "induced_level_subgraph",
    "is.directed",
    "list_motifs",
    "motif_summary",
    "motifs_distribution",
    "plot_critical_dyads",
    "plot_gaps",
    "plot_mnet",
    "show_motif",
    "simulate_baseline",
    "supported_classes",
    "supported_signatures",
    "to_py_graph",
    "update_motifr"
  ],
  "_datasets": [
    {
      "name": "directed_dummy_net",
      "title": "Two-level directed network dummy example",
      "object": "directed_dummy_net",
      "class": [
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "dummy_net",
      "title": "Three-level network dummy example",
      "object": "dummy_net",
      "class": [
        "network"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "large_directed_dummy_net",
      "title": "Large two-level directed network dummy example",
      "object": "large_directed_dummy_net",
      "class": [
        "network"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "ml_net",
      "title": "Two-level network example (wetlands management)",
      "object": "wetlands_mlnet",
      "class": [
        "network"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "tidygraph_dummy_net",
      "title": "Two-level tidygraph network example",
      "object": "tidygraph_dummy_net",
      "class": [
        "tbl_graph",
        "igraph"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "compare_to_baseline",
      "title": "Compare motif occurence in empirical network to occurence in a baseline model",
      "topics": [
        "compare_to_baseline"
      ]
    },
    {
      "page": "count_motifs",
      "title": "Count multi-level motifs",
      "topics": [
        "count_motifs"
      ]
    },
    {
      "page": "critical_dyads",
      "title": "List critical dyads",
      "topics": [
        "critical_dyads"
      ]
    },
    {
      "page": "directed_dummy_net",
      "title": "Two-level directed network dummy example",
      "topics": [
        "directed_dummy_net"
      ]
    },
    {
      "page": "dummy_net",
      "title": "Three-level network dummy example",
      "topics": [
        "dummy_net"
      ]
    },
    {
      "page": "edge_contribution",
      "title": "List edge contribution",
      "topics": [
        "edge_contribution"
      ]
    },
    {
      "page": "exemplify_motif",
      "title": "Returns an example for a motif found in a given network",
      "topics": [
        "exemplify_motif"
      ]
    },
    {
      "page": "explore_motifs",
      "title": "Explore the motif zoo interactively in a shiny app",
      "topics": [
        "explore_motifs"
      ]
    },
    {
      "page": "identify_gaps",
      "title": "List gaps",
      "topics": [
        "identify_gaps"
      ]
    },
    {
      "page": "induced_level_subgraph",
      "title": "Returns subgraph induced by one level of the network",
      "topics": [
        "induced_level_subgraph"
      ]
    },
    {
      "page": "is.directed",
      "title": "Checks whether the given network is directed",
      "topics": [
        "is.directed"
      ]
    },
    {
      "page": "large_directed_dummy_net",
      "title": "Large two-level directed network dummy example",
      "topics": [
        "large_directed_dummy_net"
      ]
    },
    {
      "page": "list_motifs",
      "title": "Lists motifs of a given class or all motifs with a given signature",
      "topics": [
        "list_motifs"
      ]
    },
    {
      "page": "ml_net",
      "title": "Two-level network example (wetlands management)",
      "topics": [
        "ml_net"
      ]
    },
    {
      "page": "motif_summary",
      "title": "Summary for motif counts and Erdős-Rényi distribution",
      "topics": [
        "motif_summary"
      ]
    },
    {
      "page": "motifs_distribution",
      "title": "Compute statistical properties (expectation and variance) of the distribution of motifs in a baseline model",
      "topics": [
        "motifs_distribution"
      ]
    },
    {
      "page": "plot_critical_dyads",
      "title": "Plot critical dyads in network visualisation",
      "topics": [
        "plot_critical_dyads"
      ]
    },
    {
      "page": "plot_gaps",
      "title": "Plot gaps in network visualisation",
      "topics": [
        "plot_gaps"
      ]
    },
    {
      "page": "plot_gaps_or_critical_dyads",
      "title": "Helper function for plotting gaps and critical edges",
      "topics": [
        "plot_gaps_or_critical_dyads"
      ]
    },
    {
      "page": "plot_mnet",
      "title": "Visualize a multi-level network (using ggraph)",
      "topics": [
        "plot_mnet"
      ]
    },
    {
      "page": "show_motif",
      "title": "Plots an example for a motif with given motif identifier string taken from the given graph.",
      "topics": [
        "show_motif"
      ]
    },
    {
      "page": "simulate_baseline",
      "title": "Simulate a baseline baseline model",
      "topics": [
        "simulate_baseline"
      ]
    },
    {
      "page": "supported_classes",
      "title": "Lists all supported motif classes for a given signature",
      "topics": [
        "supported_classes"
      ]
    },
    {
      "page": "supported_signatures",
      "title": "Lists all supported signatures",
      "topics": [
        "supported_signatures"
      ]
    },
    {
      "page": "tidygraph_dummy_net",
      "title": "Two-level tidygraph network example",
      "topics": [
        "tidygraph_dummy_net"
      ]
    },
    {
      "page": "to_py_graph",
      "title": "Translate multi-level statnet or igraph network object to Python networkx object",
      "topics": [
        "to_py_graph"
      ]
    },
    {
      "page": "update_motifr",
      "title": "Checks for updates for motifr's Python core, the sma package",
      "topics": [
        "update_motifr"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marioangst/motifr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/marioangst/motifr/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "coda",
    "commonmark",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggforce",
    "ggplot2",
    "ggraph",
    "ggrepel",
    "glue",
    "graphlayouts",
    "gridExtra",
    "gtable",
    "here",
    "htmltools",
    "httpuv",
    "igraph",
    "intergraph",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "network",
    "otel",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "polyclip",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppTOML",
    "reshape2",
    "reticulate",
    "rlang",
    "rprojroot",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "statnet.common",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "tweenr",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "random_baselines.Rmd",
      "filename": "random_baselines.html",
      "title": "Baseline model comparisons",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Baseline models",
        "Motifs in networks simulated based on a baseline model",
        "Motif distributions without simulation",
        "Difference between Erdős-Rényi and Fixed Densities",
        "Level selection in Actor's Choice Model",
        "Exponential Random Graph Models (ERGM)",
        "Workflow for Partial ERGM"
      ],
      "created": "2020-04-27 19:34:12",
      "modified": "2020-11-30 08:36:58",
      "commits": 21
    },
    {
      "source": "motif_zoo.Rmd",
      "filename": "motif_zoo.html",
      "title": "The motif zoo",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motif classification – how to label motifs in the wild",
        "A word of caution on counting: Position matching"
      ],
      "created": "2020-04-27 17:32:22",
      "modified": "2020-11-30 08:36:58",
      "commits": 15
    }
  ],
  "_score": 5.4593924877592315,
  "_indexed": true,
  "_nocasepkg": "motifr",
  "_universes": [
    "marioangst"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T07:46:26.000Z",
      "distro": "noble",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "b3bb845eae813241365d83f032357304d3bedbee9841731235b56295a58c53a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-11T07:46:27.000Z",
      "distro": "noble",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "17b389ed31de3ebde32d9ab9c40844af1ee2fbd40b07c669204d119b6cadb66b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T07:45:57.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "83c17b654f4fe31621e4650e850e37adfa2e19bd7268c55ece24ca005766b6d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-11T07:46:01.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "297bf231b1666ccc902b7e4cd212d5e7414cdc4dabc4efd789a4058f9c91265a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:45:18.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "b17cb88ba101613314e03e23ff5c14cfccbca626ccd6f5d77f692d8524c1f98c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:45:12.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "d4f701651d6de8c0120a2620cf4116130b5ccad0966745a2e2a1b183e26c5f87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-11T07:45:26.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "94943d0ed3c04aa28ffc10c8afff1ffd74db5f960fc5a0860b86ae49ad3490ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T11:44:18.000Z",
      "commit": "5c7b65acfc2322d0d38cee91653c96155db739e7",
      "fileid": "f2aa110192e3817de3bf43bc398ae16b9f80e4a82e62593a1d4c2af5d610f652",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marioangst/actions/runs/25656930528"
    }
  ]
}