{
  "_id": "6a233010530b9bc726bd1edb",
  "Package": "SpaTopic",
  "Type": "Package",
  "Title": "Topic Inference to Identify Tissue Architecture in Multiplexed\nImages",
  "Version": "1.3.1.9000",
  "Date": "2026-05-27",
  "Authors@R": "c(\nperson(\"Xiyu\", \"Peng\", email = \"pansypeng124@gmail.com\",\nrole = c(\"aut\", \"cre\"),comment = c(ORCID = \"0000-0003-4232-0910\")),\nperson(\"Nikki\", \"Xiao\", email = \"xmq041117@gmail.com\",\nrole = c(\"aut\"))\n)",
  "Description": "A novel spatial topic model to integrate both cell type\nand spatial information to identify the complex spatial tissue\narchitecture on multiplexed tissue images without human\nintervention. The Package implements a collapsed Gibbs sampling\nalgorithm for inference. The method is highly scalable to\nlarge-scale image datasets without extracting neighborhood\ninformation for every single cell. The package supports\nspatially resolved cell-level data analysis, topic inference,\nvisualization, and downstream biological interpretation of\ntissue microenvironments.",
  "License": "GPL (>= 3)",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://xiyupeng.github.io/SpaTopic/,\nhttps://github.com/xiyupeng/SpaTopic,\nhttps://doi.org/10.1038/s41467-025-61821-y",
  "BugReports": "https://github.com/xiyupeng/SpaTopic/issues",
  "Language": "en-US",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://xiyupeng.r-universe.dev",
  "Date/Publication": "2026-06-05 19:38:13 UTC",
  "RemoteUrl": "https://github.com/xiyupeng/spatopic",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf1dab7aada425f55d61b453f4795cba0241656c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-05 20:08:29 UTC",
    "User": "root"
  },
  "Author": "Xiyu Peng [aut, cre] (ORCID: <https://orcid.org/0000-0003-4232-0910>),\nNikki Xiao [aut]",
  "Maintainer": "Xiyu Peng <pansypeng124@gmail.com>",
  "MD5sum": "8e431cfdf06be7f119eeca6a580d72f7",
  "_user": "xiyupeng",
  "_type": "src",
  "_file": "SpaTopic_1.3.1.9000.tar.gz",
  "_fileid": "22780ea21c310342d897d34c91445bafd7a5af7e8ec27ab18e23eb8ac33d230b",
  "_filesize": 595138,
  "_sha256": "22780ea21c310342d897d34c91445bafd7a5af7e8ec27ab18e23eb8ac33d230b",
  "_created": "2026-06-05T20:08:29.000Z",
  "_published": "2026-06-05T20:22:40.391Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79805183525,
      "time": 146,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7445861690"
    },
    {
      "job": 79805183528,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7445863141"
    },
    {
      "job": 79805183501,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445863938"
    },
    {
      "job": 79805183539,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445861943"
    },
    {
      "job": 79805183527,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7446012821"
    },
    {
      "job": 79805183508,
      "time": 304,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7445952886"
    },
    {
      "job": 79805183526,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7446015880"
    },
    {
      "job": 79805183510,
      "time": 278,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7446051236"
    },
    {
      "job": 79804471080,
      "time": 276,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445817689"
    },
    {
      "job": 79805183499,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445858402"
    },
    {
      "job": 79805183495,
      "time": 176,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7445869718"
    },
    {
      "job": 79805183492,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7445855038"
    },
    {
      "job": 79805183480,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7445851974"
    }
  ],
  "_buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/xiyupeng/spatopic",
  "_commit": {
    "id": "cf1dab7aada425f55d61b453f4795cba0241656c",
    "author": "Xiyu <pansypeng124@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #10 from nikkixiao/NX2\n\nRebuilt Xenium and Lable Topic tutorial pkgdown articles",
    "time": 1780688293
  },
  "_maintainer": {
    "name": "Xiyu Peng",
    "email": "pansypeng124@gmail.com",
    "login": "xiyupeng",
    "description": "biostatistics/bioinformatics",
    "uuid": 23034624,
    "orcid": "0000-0003-4232-0910"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RANN",
      "version": ">= 2.6.0",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0-12",
      "role": "Imports"
    },
    {
      "package": "methods",
      "version": ">= 3.4",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "SeuratObject",
      "version": ">= 4.9.9.9086",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "version": ">= 1.0",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "xiyupeng",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 13
    },
    {
      "week": "2026-09",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 8
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.3.1",
      "date": "2026-05-27"
    }
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "xiyupeng",
      "count": 58,
      "uuid": 23034624
    },
    {
      "user": "nikkixiao",
      "count": 5,
      "uuid": 254772855
    }
  ],
  "_userbio": {
    "uuid": 23034624,
    "type": "user",
    "name": "Xiyu",
    "description": "biostatistics/bioinformatics"
  },
  "_downloads": {
    "count": 237,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpaTopic"
  },
  "_devurl": "https://github.com/xiyupeng/spatopic",
  "_pkgdown": "https://xiyupeng.github.io/SpaTopic/",
  "_searchresults": 23,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpaTopic.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/xiyupeng/spatopic",
  "_realowner": "xiyupeng",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2024-01-17"
    },
    {
      "version": "1.1.0",
      "date": "2024-04-23"
    },
    {
      "version": "1.2.0",
      "date": "2025-03-03"
    },
    {
      "version": "1.3.1",
      "date": "2026-05-29"
    }
  ],
  "_exports": [
    "frex_topic",
    "label_topics",
    "lift_topic",
    "prob_topic",
    "score_topic",
    "Seurat5obj_to_SpaTopic",
    "SpaTopic_inference",
    "stratified_sampling_3D_via_2D",
    "stratified_sampling_sf"
  ],
  "_datasets": [
    {
      "name": "lung5",
      "title": "Example input data for 'SpaTopic'",
      "object": "lung5",
      "class": [
        "data.frame"
      ],
      "fields": [
        "image",
        "X",
        "Y",
        "type"
      ],
      "rows": 100149,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "frex_topic",
      "title": "Calculate FREX ranked words and values for a topic",
      "topics": [
        "frex_topic"
      ]
    },
    {
      "page": "label_topics",
      "title": "Label topics function",
      "topics": [
        "label_topics"
      ]
    },
    {
      "page": "lift_topic",
      "title": "Calculate lift ranked words and values for a topic",
      "topics": [
        "lift_topic"
      ]
    },
    {
      "page": "lung5",
      "title": "Example input data for 'SpaTopic'",
      "topics": [
        "lung5"
      ]
    },
    {
      "page": "print.SpaTopic",
      "title": "Print method for SpaTopic objects",
      "topics": [
        "print.SpaTopic"
      ]
    },
    {
      "page": "prob_topic",
      "title": "Calculate highest probability words and values for a topic",
      "topics": [
        "prob_topic"
      ]
    },
    {
      "page": "score_topic",
      "title": "Calculate score ranked words and values for a topic",
      "topics": [
        "score_topic"
      ]
    },
    {
      "page": "Seurat5obj_to_SpaTopic",
      "title": "Convert a Seurat v5 object as the input of 'SpaTopic'",
      "topics": [
        "Seurat5obj_to_SpaTopic"
      ]
    },
    {
      "page": "SpaTopic_inference",
      "title": "'SpaTopic': fast topic inference to identify tissue architecture in multiplexed images",
      "topics": [
        "SpaTopic_inference"
      ]
    },
    {
      "page": "spatopic_message",
      "title": "Format messages for SpaTopic package",
      "topics": [
        "spatopic_message"
      ]
    },
    {
      "page": "SpaTopic-class",
      "title": "A class of the output from 'SpaTopic'",
      "topics": [
        "SpaTopic-class"
      ]
    },
    {
      "page": "SpaTopic-package",
      "title": "SpaTopic: Spatial Topic Modeling for Multiplexed Images",
      "topics": [
        "SpaTopic-package",
        "SpaTopic",
        "SpaTopic-Package"
      ]
    },
    {
      "page": "stratified_sampling_3D_via_2D",
      "title": "Spatially stratified random sample points from a 3D image using 2D slicing.",
      "topics": [
        "stratified_sampling_3D_via_2D"
      ]
    },
    {
      "page": "stratified_sampling_sf",
      "title": "Spatially stratified random sample points from an image.",
      "topics": [
        "stratified_sampling_sf"
      ]
    }
  ],
  "_readme": "https://github.com/xiyupeng/spatopic/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "codetools",
    "DBI",
    "e1071",
    "foreach",
    "iterators",
    "KernSmooth",
    "MASS",
    "proxy",
    "RANN",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "Intro_SpaTopic.Rmd",
      "filename": "Intro_SpaTopic.html",
      "title": "SpaTopic Basics",
      "author": "Xiyu Peng",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simple Usage"
      ],
      "created": "2023-12-07 22:23:16",
      "modified": "2025-02-27 20:39:55",
      "commits": 9
    }
  ],
  "_score": 6.094121595840561,
  "_indexed": true,
  "_nocasepkg": "spatopic",
  "_universes": [
    "xiyupeng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:10:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "754126b7d1e408ac0ac474b1816e4ff37caba45ea3f83882388e1fbac30090ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:11:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "9f7fa1beb676c35cc28e8b18afd63f88b8a22193c7b54ecf66b64bf6537f4e5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:11:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "eab86b9fe22cbc094437728db38248fee3043fcfd7fb32d0fc05605e1a80d997",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:10:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "64334abeada12b74f0f21086570024793b5b8a9a2fdf8d8d84d404dfd7995bf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:19:44.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "0d9438a5bea96d4e05b19a89fb9897b3e8c12d2955ef9725ec8777b4304d65c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:15:21.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "4ec9b9d10a809dfd56afe9ec0d651cca4beaff27e08acb0abd6c9258e236334f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:19:58.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "1c96281332ecc05a085104e28cb1d569816fa2115bff8e0b61f566f21e1a2cc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:21:15.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "cc802815e37df51f126906931eb08d52dc9226e2fc627f3756b1afcd2e675bbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:11:06.000Z",
      "arch": "emscripten",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "fa4325b2890e9bb6628ea834ab8a82a4f5e843513b4d285351d8b11c25e9b9e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:11:05.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "8ac41e11b1ded48b5c9b151d6fba6de216d46a19521aaedf4d621f3b70007e9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:10:07.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "67bdfefe6cf0ef7ea8665c437ff139115f70e7e4cec5c9c15c1af065fd929c89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-06-05T20:09:57.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "8af0fd60602dfa26dc6c0958cda322e4ec5e3ac7178c1330f72aaee9e4443fc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/27037303424"
    }
  ]
}