{
  "_id": "6ace3256a14063b82c3b1216",
  "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-10-13 12:44:46 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>",
  "_user": "xiyupeng",
  "_type": "src",
  "_file": "SpaTopic_1.3.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/ef8685cdab3d89eb78307790f02b537cc9dbafac9d377f0151e79ad451598112",
  "_filesize": 595936,
  "_sha256": "ef8685cdab3d89eb78307790f02b537cc9dbafac9d377f0151e79ad451598112",
  "_expires": "2027-01-21T13:29:55.000Z",
  "_created": "2026-10-13T12:44:46.000Z",
  "_published": "2026-10-13T13:29:57.961Z",
  "_buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115303661809,
      "time": 126,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11814178257"
    },
    {
      "job": 115303661595,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11813988500"
    },
    {
      "job": 115303661547,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11814798088"
    },
    {
      "job": 115303661857,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11814898133"
    },
    {
      "job": 115303661909,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11816403079"
    },
    {
      "job": 115303661684,
      "time": 517,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11819100365"
    },
    {
      "job": 115303661884,
      "time": 220,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11818625816"
    },
    {
      "job": 115303661781,
      "time": 465,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11818671321"
    },
    {
      "job": 115301580896,
      "time": 291,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11813064040"
    },
    {
      "job": 115303661583,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11814588237"
    },
    {
      "job": 115303661699,
      "time": 465,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11814014450"
    },
    {
      "job": 115303661660,
      "time": 190,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11813304460"
    },
    {
      "job": 115303661974,
      "time": 117,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11813084442"
    },
    {
      "job": 115303661670,
      "time": 377,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11815140144"
    },
    {
      "job": 115303661767,
      "time": 91,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11814033314"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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": "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",
    "followers": 32,
    "description": "biostatistics/bioinformatics"
  },
  "_downloads": {
    "count": 349,
    "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.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/readme.html",
    "extra/readme.md",
    "extra/SpaTopic.html"
  ],
  "_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",
    "proxy",
    "RANN",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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": 5.91803033678488,
  "_indexed": true,
  "_nocasepkg": "spatopic",
  "_universes": [
    "xiyupeng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:47:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/52a69377a30e404fdc6033fffdb4cc13ad0b35be3f368d84ab372fc25361e313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:47:39.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/d230383466affe7aed06636fb97d0b91bbd1d1ec2eb00521b419842ba646ec34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:47:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/7e88134112f67e773cfd14f3f1567ab66c6cd8ce60b9862d7ee1b2f6d4623c47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:47:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/dcc4f66eeb4949e51ed5482e39a5ac84b7616fd7dc426ba2b13328f5c69fceec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-10-13T13:17:39.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/75a1a80c2b70af72809d9ccacef9763f5d28e2591eecb3d84aca12410d4340b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-10-13T13:23:02.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/fda478f9a991bcad6030babdb2cd7fc332846af94c5cee1cad5f5dfa62e118c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-10-13T13:24:37.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/ef82fb72e904bf582c2d4b4a7b02d81171a4ebf9930140bfa2ee798a481a0538",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.3.1.9000",
      "date": "2026-10-13T13:26:42.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/545e3c03d752a77996d7b3dcbb320d23cd17c1bc5ff7d18ac0ba5bd56cd59b36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:47:13.000Z",
      "arch": "emscripten",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/77091b08c17722fbebfd8e7fbc2c7f2beaa0effac9a37a4f52f6f768589d5288",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:51:53.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/a2d6f13d2608cf31784da2711f7c0634f15aadbacecb026c1a72b51361786ef3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:46:44.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/722d0709628984d3f26d2f534c917cf27828b4856582e4906eba443c6fcec908",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:46:16.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/2867844c347dacaf3abff76beae66d669471451a4f0e620f64553e773ff6d241",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:50:22.000Z",
      "arch": "aarch64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/7e07ffcee113fc81a8348db44642877ea19b57f233efb2985004cdb767b31832",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.3.1.9000",
      "date": "2026-10-13T12:46:07.000Z",
      "arch": "x86_64",
      "commit": "cf1dab7aada425f55d61b453f4795cba0241656c",
      "fileid": "https://r2.ropensci.org/0de2229434ff39b2f7e25844f6ad06d615ccd0b4083f864731dc1d315a79b78b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiyupeng/actions/runs/38398982302"
    }
  ]
}