{
  "_id": "6ad15f40d3c80a766859bb2f",
  "Package": "smotif",
  "Type": "Package",
  "Title": "Spatial Multi-Cellular Motifs",
  "Version": "0.2.0",
  "Authors@R": "person(\"Ruben\", \"Dries\", email = \"rdries@bu.edu\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Discovery and statistical evaluation of recurrent\nmulti-cellular motifs (size 2, 3, and 4) in spatial omics data.\nProvides a lightweight 'SpatialGraph' representation backed by\nparquet, enumeration over igraph, spatially-aware null models,\nmotif-to-gene association, and cross-region or cross-sample\ncomparison. Designed to be framework-agnostic so that the core\ncan be folded into Giotto Suite later.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake libglpk-dev libxml2-dev libssl-dev",
  "Repository": "https://drieslab.r-universe.dev",
  "Date/Publication": "2026-10-15 21:20:48 UTC",
  "RemoteUrl": "https://github.com/drieslab/smotif",
  "RemoteRef": "HEAD",
  "RemoteSha": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-15 23:15:14 UTC",
    "User": "root"
  },
  "Author": "Ruben Dries [aut, cre]",
  "Maintainer": "Ruben Dries <rdries@bu.edu>",
  "_user": "drieslab",
  "_type": "src",
  "_file": "smotif_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1991b251a4c5293afb116e62c5e5d8bd1fee9212b031aceeb7dc194824cdb985",
  "_filesize": 5776851,
  "_sha256": "1991b251a4c5293afb116e62c5e5d8bd1fee9212b031aceeb7dc194824cdb985",
  "_expires": "2027-01-23T23:18:21.000Z",
  "_created": "2026-10-15T23:15:14.000Z",
  "_published": "2026-10-15T23:18:23.882Z",
  "_buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116722114067,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12013208651"
    },
    {
      "job": 116722114023,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12012798098"
    },
    {
      "job": 116722113945,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12013508327"
    },
    {
      "job": 116722114173,
      "time": 139,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12014041747"
    },
    {
      "job": 116720533302,
      "time": 276,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12013413112"
    },
    {
      "job": 116722114201,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12012997829"
    },
    {
      "job": 116722114052,
      "time": 115,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12013332589"
    },
    {
      "job": 116722113976,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12013168790"
    },
    {
      "job": 116722113973,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12013852467"
    }
  ],
  "_upstream": "https://github.com/drieslab/smotif",
  "_commit": {
    "id": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
    "author": "George Chen <72078254+jiajic@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #5 from drieslab/fix/drieslab-urls\n\nPoint smotifrs install hint at drieslab r-universe",
    "time": 1792099248
  },
  "_maintainer": {
    "name": "Ruben Dries",
    "email": "rdries@bu.edu",
    "login": "rubd",
    "bluesky": "@rndries.bsky.social",
    "twitter": "@RnDries",
    "description": "",
    "uuid": 8243389
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "arrow",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "FNN",
      "role": "Suggests"
    },
    {
      "package": "Giotto",
      "role": "Suggests"
    },
    {
      "package": "smotifrs",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "GiottoClass",
      "role": "Suggests"
    },
    {
      "package": "GiottoVisuals",
      "role": "Suggests"
    },
    {
      "package": "dbscan",
      "role": "Suggests"
    },
    {
      "package": "deldir",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "motifr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "drieslab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 2
    },
    {
      "week": "2026-42",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jiajic",
      "count": 8,
      "uuid": 72078254
    },
    {
      "user": "rubd",
      "count": 5,
      "uuid": 8243389
    }
  ],
  "_userbio": {
    "uuid": 63752180,
    "type": "organization",
    "name": "Dries lab",
    "followers": 49,
    "description": "The Lab of Systems and Spatial Oncology"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smotif"
  },
  "_devurl": "https://github.com/drieslab/smotif",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/smotif.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "as_igraph",
    "associate_genes",
    "build_spatial_graph",
    "compare_motifs",
    "find_motifs",
    "motif_enrichment",
    "motif_enrichment_store",
    "motif_enrichment_stream",
    "motif_instances",
    "Motifs",
    "read_spatial_graph",
    "SpatialGraph",
    "store_node_order",
    "subset_region",
    "subset_sample",
    "test_motif_enrichment",
    "write_spatial_graph"
  ],
  "_help": [
    {
      "page": "as_igraph",
      "title": "Return (and cache) the igraph view of a 'SpatialGraph'",
      "topics": [
        "as_igraph"
      ]
    },
    {
      "page": "associate_genes",
      "title": "Associate genes (or gene-set scores) with motifs or motif orbits",
      "topics": [
        "associate_genes"
      ]
    },
    {
      "page": "build_spatial_graph",
      "title": "Build a 'SpatialGraph' from coordinates",
      "topics": [
        "build_spatial_graph"
      ]
    },
    {
      "page": "compare_motifs",
      "title": "Compare motif distributions across regions or samples",
      "topics": [
        "compare_motifs"
      ]
    },
    {
      "page": "find_motifs",
      "title": "Find motifs in a 'SpatialGraph'",
      "topics": [
        "find_motifs"
      ]
    },
    {
      "page": "motif_enrichment",
      "title": "Motif enrichment on a spatial graph",
      "topics": [
        "motif_enrichment"
      ]
    },
    {
      "page": "motif_enrichment_store",
      "title": "Motif enrichment straight from a disk-backed edge store",
      "topics": [
        "motif_enrichment_store"
      ]
    },
    {
      "page": "motif_enrichment_stream",
      "title": "Motif enrichment over a stream of edges",
      "topics": [
        "motif_enrichment_stream"
      ]
    },
    {
      "page": "motif_instances",
      "title": "Cells making up occurrences of selected motif classes",
      "topics": [
        "motif_instances"
      ]
    },
    {
      "page": "Motifs",
      "title": "Construct a 'Motifs' object",
      "topics": [
        "Motifs",
        "print.Motifs"
      ]
    },
    {
      "page": "plot.Motifs",
      "title": "Bar chart of the most common motifs",
      "topics": [
        "plot.Motifs"
      ]
    },
    {
      "page": "read_spatial_graph",
      "title": "Read a 'SpatialGraph' from parquet",
      "topics": [
        "read_spatial_graph"
      ]
    },
    {
      "page": "SpatialGraph",
      "title": "Construct a 'SpatialGraph'",
      "topics": [
        "print.SpatialGraph",
        "SpatialGraph"
      ]
    },
    {
      "page": "store_node_order",
      "title": "Node ids of a disk-backed edge store, in sidecar order",
      "topics": [
        "store_node_order"
      ]
    },
    {
      "page": "subset_region",
      "title": "Subset a 'SpatialGraph' by a node-column expression",
      "topics": [
        "subset_region",
        "subset_sample"
      ]
    },
    {
      "page": "test_motif_enrichment",
      "title": "Test motif enrichment under a spatially-aware null",
      "topics": [
        "test_motif_enrichment"
      ]
    },
    {
      "page": "write_spatial_graph",
      "title": "Write a 'SpatialGraph' to parquet",
      "topics": [
        "write_spatial_graph"
      ]
    }
  ],
  "_rundeps": [
    "arrow",
    "assertthat",
    "bit",
    "bit64",
    "cli",
    "cpp11",
    "data.table",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "tidyselect",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "smotif.Rmd",
      "filename": "smotif.html",
      "title": "Spatial multi-cellular motifs with smotif",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Load the prepared SpatialGraph",
        "2. Tissue layout",
        "3. Find size-2 and size-3 motifs",
        "4. Where does a motif live in space?",
        "5. Enrichment under a global label-permutation null",
        "6. Region-stratified vs unstratified",
        "7. Top-enriched motif → associated genes",
        "8. Per-sample meta-analysis",
        "9. Per-niche motif distributions",
        "10. Niche-defining motifs in physical space",
        "11. Cross-niche bridging motifs",
        "12. Bar chart of the most common size-3 motifs",
        "What's next"
      ],
      "created": "2026-05-15 01:15:49",
      "modified": "2026-05-15 01:15:49",
      "commits": 1
    }
  ],
  "_score": 2.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "smotif",
  "_universes": [
    "drieslab",
    "rubd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-15T23:17:36.000Z",
      "distro": "resolute",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/0ec71d85ac133efd1d9a433fdd7bc57e7504e528bed6b195ff8d677d2182e994",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-15T23:17:32.000Z",
      "distro": "resolute",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/b5817575faff1697ed4e52d184bcdc9e0f2d7262289b3f38f33167591d3cf5a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-15T23:17:11.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/c069ca7564a190dd9254df1994c2e457e71f6a85f3941de52af00c0856b27452",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-15T23:17:28.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/97028f894fcbe0e0c0b73ddb8f0a9b1d3c23b9dd17a06b7dcdb34897fcdb4ab1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-15T23:17:26.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/c7dd7c1f36d7b90b99545263277ac221d0aa15a61628f40d92ee7f1978f1c171",
      "status": "success",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T23:16:49.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/968eb6271fb0e40a0999baf5290747912fa174bacb6671c64cb37ea324a17894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T23:16:35.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/722fc638c0781aef2ed39bfcdb2856d401042f255fe139ed8c7ab624abc1e930",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T23:16:47.000Z",
      "commit": "5cae17932f26332bb84a598cd0360b8ebecbfd1f",
      "fileid": "https://r2.ropensci.org/348e1c8d0edd81d4cfe6b6e32ad79057ec6bcb272bfb13f5a4e12aa3ebad837e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/drieslab/actions/runs/38821970215"
    }
  ]
}