{
  "_id": "6a1afa821d7bb097a09fc0c7",
  "Package": "SPOTlight",
  "Version": "1.17.0",
  "Type": "Package",
  "Title": "`SPOTlight`: Spatial Transcriptomics Deconvolution",
  "Description": "`SPOTlight` provides a method to deconvolute spatial\ntranscriptomics spots using a seeded NMF approach along with\nvisualization tools to assess the results. Spatially resolved\ngene expression profiles are key to understand tissue\norganization and function. However, novel spatial\ntranscriptomics (ST) profiling techniques lack single-cell\nresolution and require a combination with single-cell RNA\nsequencing (scRNA-seq) information to deconvolute the spatially\nindexed datasets. Leveraging the strengths of both data types,\nwe developed SPOTlight, a computational tool that enables the\nintegration of ST with scRNA-seq data to infer the location of\ncell types and states within a complex tissue. SPOTlight is\ncentered around a seeded non-negative matrix factorization\n(NMF) regression, initialized using cell-type marker genes and\nnon-negative least squares (NNLS) to subsequently deconvolute\nST capture locations (spots).",
  "Authors@R": "c(\nperson(\"Marc\", \"Elosua-Bayes\", email=\"elosua.marc@gmail.com\", role=c(\"aut\", \"cre\")),\nperson(\"Zachary\", \"DeBruine\", email=\"zacharydebruine@gmail.com\", role=\"aut\"),\nperson(\"Helena L.\", \"Crowell\", email=\"helena@crowell.eu\", role=\"aut\"))",
  "biocViews": "SingleCell, Spatial, StatisticalMethod",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/MarcElosua/SPOTlight",
  "BugReports": "https://github.com/MarcElosua/SPOTlight/issues",
  "Config/pak/sysreqs": "zlib1g-dev",
  "Repository": "https://bioc.r-universe.dev",
  "Date/Publication": "2026-04-28 12:58:11 UTC",
  "RemoteUrl": "https://github.com/bioc/SPOTlight",
  "RemoteRef": "HEAD",
  "RemoteSha": "ad59a485ef80aea3679fb1839aa622723b016ec4",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-30 09:48:52 UTC",
    "User": "root"
  },
  "Author": "Marc Elosua-Bayes [aut, cre],\nZachary DeBruine [aut],\nHelena L. Crowell [aut]",
  "Maintainer": "Marc Elosua-Bayes <elosua.marc@gmail.com>",
  "MD5sum": "0228660a475bd4369c74308d22b93885",
  "_user": "bioc",
  "_type": "src",
  "_file": "SPOTlight_1.17.0.tar.gz",
  "_fileid": "08111e25dd52bce0194d9bb0b0acff6f7e137ff56d63f3b5de7472d3ff9a67c5",
  "_filesize": 4223032,
  "_sha256": "08111e25dd52bce0194d9bb0b0acff6f7e137ff56d63f3b5de7472d3ff9a67c5",
  "_created": "2026-05-30T09:48:52.000Z",
  "_published": "2026-05-30T14:56:02.651Z",
  "_jobs": [
    {
      "job": 78640730158,
      "time": 258,
      "config": "bioc-checks",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307530179"
    },
    {
      "job": 78640730302,
      "time": 532,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307355013"
    },
    {
      "job": 78640730212,
      "time": 435,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307549016"
    },
    {
      "job": 78640730207,
      "time": 360,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307338739"
    },
    {
      "job": 78640730210,
      "time": 457,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307550804"
    },
    {
      "job": 78640730196,
      "time": 313,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7309043127"
    },
    {
      "job": 78640730225,
      "time": 578,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7307489946"
    },
    {
      "job": 78640730213,
      "time": 209,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7309032523"
    },
    {
      "job": 78640730215,
      "time": 428,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307476860"
    },
    {
      "job": 78639885943,
      "time": 434,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307303536"
    },
    {
      "job": 78640730179,
      "time": 210,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307527729"
    },
    {
      "job": 78640730195,
      "time": 607,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307566098"
    },
    {
      "job": 78640730183,
      "time": 762,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7307579700"
    },
    {
      "job": 78640730184,
      "time": 380,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307542757"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 7
  },
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bioc/SPOTlight",
  "_commit": {
    "id": "ad59a485ef80aea3679fb1839aa622723b016ec4",
    "author": "A Wokaty <andres.wokaty@sph.cuny.edu>",
    "committer": "A Wokaty <andres.wokaty@sph.cuny.edu>",
    "message": "bump x.y.z version to odd y following creation of RELEASE_3_23 branch\n",
    "time": 1777381091
  },
  "_maintainer": {
    "name": "Marc Elosua-Bayes",
    "email": "elosua.marc@gmail.com",
    "login": "marcelosua",
    "twitter": "@elosua_bayes",
    "description": "🛶",
    "uuid": 16361091
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "SingleCellExperiment",
      "role": "Imports"
    },
    {
      "package": "sparseMatrixStats",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    },
    {
      "package": "colorBlindness",
      "role": "Suggests"
    },
    {
      "package": "DelayedArray",
      "role": "Suggests"
    },
    {
      "package": "DropletUtils",
      "role": "Suggests"
    },
    {
      "package": "ExperimentHub",
      "role": "Suggests"
    },
    {
      "package": "ggcorrplot",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "jpeg",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "png",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scater",
      "role": "Suggests"
    },
    {
      "package": "scatterpie",
      "role": "Suggests"
    },
    {
      "package": "scran",
      "role": "Suggests"
    },
    {
      "package": "SpatialExperiment",
      "role": "Suggests"
    },
    {
      "package": "SummarizedExperiment",
      "role": "Suggests"
    },
    {
      "package": "S4Vectors",
      "role": "Suggests"
    },
    {
      "package": "TabulaMurisSenisData",
      "role": "Suggests"
    },
    {
      "package": "TENxVisiumData",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "bioc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 2
    },
    {
      "week": "2025-39",
      "n": 3
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [],
  "_bioc": [
    {
      "branch": "devel",
      "version": "1.17.0",
      "bioc": "3.24"
    },
    {
      "branch": "release",
      "version": "1.16.0",
      "bioc": "3.23"
    }
  ],
  "_topics": [
    "singlecell",
    "spatial",
    "statisticalmethod",
    "cpp",
    "openmp"
  ],
  "_stars": 208,
  "_contributors": [
    {
      "user": "marcelosua",
      "count": 583,
      "uuid": 16361091
    },
    {
      "user": "catalyst-project",
      "count": 13,
      "uuid": 31732326
    },
    {
      "user": "jwokaty",
      "count": 12,
      "uuid": 1744257
    },
    {
      "user": "zdebruine",
      "count": 11,
      "uuid": 2014816
    },
    {
      "user": "federicomarini",
      "count": 4,
      "uuid": 7447478
    },
    {
      "user": "nturaga",
      "count": 2,
      "uuid": 2746443
    }
  ],
  "_userbio": {
    "uuid": 2286807,
    "type": "organization",
    "name": "Bioconductor",
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_downloads": {
    "count": 748,
    "source": "https://www.bioconductor.org/packages/stats/bioc/SPOTlight"
  },
  "_devurl": "https://github.com/marcelosua/spotlight",
  "_searchresults": 224,
  "_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/SPOTlight.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/marcelosua/spotlight",
  "_realowner": "bioc",
  "_cranurl": false,
  "_exports": [
    "getMGS",
    "mockSC",
    "mockSP",
    "plotCorrelationMatrix",
    "plotImage",
    "plotInteractions",
    "plotSpatialScatterpie",
    "plotTopicProfiles",
    "runDeconvolution",
    "SPOTlight",
    "trainNMF"
  ],
  "_help": [
    {
      "page": "dot-filter",
      "title": ".init_nmf <- function(x, groups, mgs, n_top = NULL, gene_id = \"gene\", group_id = \"cluster\", weight_id = \"weight\") # check validity of input arguments if (is.null(n_top)) n_top <- max(table(mgs[[group_id]])) stopifnot( is.character(gene_id), length(gene_id) == 1, is.character(group_id), length(group_id) == 1, is.character(weight_id), length(weight_id) == 1, c(gene_id, group_id, weight_id) is.numeric(n_top), length(n_top) == 1, round(n_top) == n_top) ng <- nrow(x) nc <- ncol(x) names(ks) <- ks <- unique(groups) # subset 'n_top' features mgs <- split(mgs, mgs[[group_id]]) mgs <- lapply(mgs, function(df) o <- order(df[[weight_id]], decreasing = TRUE) n <- ifelse(nrow(df) < n_top, nrow(df), n_top) df[o, ][seq_len(n), ] ) # subset unique features mgs <- lapply(ks, function(k) g1 <- mgs[[k]][[gene_id]] g2 <- unlist(lapply(mgs[ks != k], `[[`, gene_id)) mgs[[k]][!g1 ) # W is of dimension (#groups)x(#features) with W(i,j) # equal to weight if j is marker for i, and ~0 otherwise W <- vapply(ks, function(k) w <- numeric(ng) + 1e-12 names(w) <- rownames(x) ws <- mgs[[k]][[weight_id]] w[mgs[[k]][[gene_id]]] <- ws return(w) , numeric(ng)) # there is no need to initialize H tp <- paste0(\"topic_\", seq_len(length(ks))) dimnames(W) <- list(rownames(x), tp) return(W) Filter features from expression matrix",
      "topics": [
        ".filter"
      ]
    },
    {
      "page": "data",
      "title": "Synthetic single-cell, mixture and marker data",
      "topics": [
        "data",
        "getMGS",
        "mockSC",
        "mockSP"
      ]
    },
    {
      "page": "plotCorrelationMatrix",
      "title": "Plot Correlation Matrix",
      "topics": [
        "plotCorrelationMatrix"
      ]
    },
    {
      "page": "plotImage",
      "title": "Plot JP(E)G/PNG/Raster/RGB images",
      "topics": [
        "plotImage"
      ]
    },
    {
      "page": "plotInteractions",
      "title": "Plot group interactions",
      "topics": [
        "plotHeatmap",
        "plotInteractions",
        "plotNetwork"
      ]
    },
    {
      "page": "plotSpatialScatterpie",
      "title": "Spatial scatterpie",
      "topics": [
        "plotSpatialScatterpie"
      ]
    },
    {
      "page": "plotTopicProfiles",
      "title": "Plot NMF topic profiles",
      "topics": [
        "plotTopicProfiles"
      ]
    },
    {
      "page": "runDeconvolution",
      "title": "Run Deconvolution using NNLS model",
      "topics": [
        "runDeconvolution"
      ]
    },
    {
      "page": "SPOTlight",
      "title": "Deconvolution of mixture using single-cell data",
      "topics": [
        "SPOTlight"
      ]
    },
    {
      "page": "trainNMF",
      "title": "train NMF model",
      "topics": [
        "trainNMF"
      ]
    }
  ],
  "_readme": "https://github.com/bioc/SPOTlight/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "Biobase",
    "BiocGenerics",
    "cli",
    "cpp11",
    "DelayedArray",
    "farver",
    "generics",
    "GenomicRanges",
    "ggplot2",
    "glue",
    "gtable",
    "IRanges",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "scales",
    "Seqinfo",
    "SingleCellExperiment",
    "SparseArray",
    "sparseMatrixStats",
    "SummarizedExperiment",
    "vctrs",
    "viridisLite",
    "withr",
    "XVector"
  ],
  "_sysdeps": [
    {
      "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": "SPOTlight_kidney.Rmd",
      "filename": "SPOTlight_kidney.html",
      "title": "Spatial Transcriptomics Deconvolution with SPOTlight",
      "author": "Marc Elosua-Bayes, Helena L. Crowell, Zach DeBruine",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load packages",
        "Introduction",
        "What is SPOTlight?",
        "Starting point",
        "Getting started",
        "Data description",
        "Loading the data",
        "Workflow",
        "Preprocessing",
        "Feature selection",
        "Variance modelling",
        "Cell Downsampling",
        "Deconvolution",
        "Visualization",
        "Topic profiles",
        "Spatial Correlation Matrix",
        "Co-localization",
        "Scatterpie",
        "Residuals",
        "Session information"
      ],
      "created": "2022-01-26 17:04:13",
      "modified": "2025-05-26 18:04:27",
      "commits": 12
    }
  ],
  "_score": 8.91134940198322,
  "_indexed": true,
  "_nocasepkg": "spotlight",
  "_universes": [
    "bioc",
    "marcelosua"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-05-30T09:55:56.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "ef05dc46defdacaa5893849f6f2ad49ab2e070d5d61651068c8ba63f4ad34e3d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-05-30T10:31:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "16da5b1cdebbea89020652e8d2a90cc4e2ad30aaca84ac9f2ce1683ff6e93428",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-05-30T09:52:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "5fe0c3222978d07535685c78a8953ff7f344fe6f515fbd8cceb780b11ff6bc68",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-05-30T10:32:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "29e7bf32d4fe710f5da478495235691168f8ed213b97a98a0bc24d8062890d6e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-05-30T14:52:34.000Z",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "6a240fa4ee9050b665db530bd99d877a8e1ae1be14665f9dcacbfea2c3cb53b4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-05-30T10:17:55.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "bc311bf9dc5b7284b13998d25cef06bf69a1381ddaf91cf8736a1ac0f62841da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-05-30T14:52:06.000Z",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "4f147552fbe4c8b370e9b4c73c6cb7bd30a1fdd89543937de335ee977e2d46d7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-05-30T10:17:10.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "b07946afb25d9f360d09a788496072a0346e431583eabaa5a5a4b1b39b5a1ae2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.17.0",
      "date": "2026-05-30T10:30:57.000Z",
      "arch": "emscripten",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "39ebfdcf5739c26f3df0249de0c8d2bde734a2e100c1a61796f9744873c44d5b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-05-30T10:34:44.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "c3387b854e8d5bfb0a70a68c5895bdfdf820727a889ac9a6dfecb02bd9e1227e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-05-30T10:35:09.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "5cbe63fb8229f3fbedeec7b12d8e9ce885469e6e036e37ce337e04250d044cd6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-05-30T10:29:51.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "bdb96073638914da7eebb33c88283399e1ce8460faa491053d4ff50cb7ad0404",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26676776603"
    }
  ]
}