{
  "_id": "6a494c30f6c47c44194994ba",
  "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-07-03 19:17:46 UTC",
    "User": "root"
  },
  "Author": "Marc Elosua-Bayes [aut, cre],\nZachary DeBruine [aut],\nHelena L. Crowell [aut]",
  "Maintainer": "Marc Elosua-Bayes <elosua.marc@gmail.com>",
  "_user": "bioc",
  "_type": "src",
  "_file": "SPOTlight_1.17.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/84e36a1accb27a733a923a2098ccffaddbf6c8c6f9c93ec2a3be9f873242edd7",
  "_filesize": 4247405,
  "_sha256": "84e36a1accb27a733a923a2098ccffaddbf6c8c6f9c93ec2a3be9f873242edd7",
  "_expires": "2026-10-12T18:08:46.000Z",
  "_created": "2026-07-03T19:17:46.000Z",
  "_published": "2026-07-04T18:08:48.527Z",
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 6
  },
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601",
  "_status": "success",
  "_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": "resolute",
  "_jobs": [
    {
      "job": 85154976900,
      "time": 263,
      "config": "bioc-checks",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073565103"
    },
    {
      "job": 85154976916,
      "time": 354,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8073584115"
    },
    {
      "job": 85154976851,
      "time": 559,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8073624947"
    },
    {
      "job": 85154976940,
      "time": 416,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073596845"
    },
    {
      "job": 85154976994,
      "time": 627,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073637889"
    },
    {
      "job": 85154976996,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8073606444"
    },
    {
      "job": 85154976921,
      "time": 499,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8073619728"
    },
    {
      "job": 85154976926,
      "time": 263,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073616903"
    },
    {
      "job": 85154976977,
      "time": 513,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073617026"
    },
    {
      "job": 85154976714,
      "time": 426,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8073511302"
    },
    {
      "job": 85154976998,
      "time": 250,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8073562675"
    },
    {
      "job": 85154976928,
      "time": 360,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8073584852"
    },
    {
      "job": 85154977009,
      "time": 383,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8073589736"
    },
    {
      "job": 85154977027,
      "time": 358,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8073584680"
    }
  ],
  "_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-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": 210,
  "_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",
    "followers": 445,
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_devurl": "https://github.com/marcelosua/spotlight",
  "_searchresults": 307,
  "_rbuild": "4.6.1",
  "_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": "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": "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.985448929266788,
  "_indexed": true,
  "_nocasepkg": "spotlight",
  "_universes": [
    "bioc",
    "marcelosua"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/0c29c011f58bad3e3e002627a58db9031bce666265ec81ad7224ed2ae8979b7e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/2ab054ca9d5f804bd8c4335892d0d473378241df1734b97e4809ea6129de0309",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/cefec818912a063e26a126f42f3310d5fe4d2fd758548f25ee1e60429df63e78",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.17.0",
      "date": "2026-07-03T19:23:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/b4299a068a60368494c6abcca12b7eb295975436ee3108f64c7747a0c284573e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-07-03T19:24:26.000Z",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/1e1a3db4845d17bb9445e39febbf815db333af79db8b0ce4aafe7d4d453183a8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:45.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/27d463288167712fafd08c9b5f1c4571095dd830534e3614d10a06de1282f792",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-07-03T19:24:41.000Z",
      "arch": "aarch64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/d769e3c28bb302e1179ee1525f111398b22695124153b103d6f6fd5d4a70772f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:49.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/bd99996601beae050ada9563e3e4fc5bf77b63f4dd14e3ae215d567105b55eeb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.17.0",
      "date": "2026-07-03T19:22:32.000Z",
      "arch": "emscripten",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/bcc275f9f132399cea45e6059feb3dd393abd055d0576d5e1cd6b1263499f1a2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-07-03T19:20:47.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/8a3b608a1803f07aad2a7f61f2b87895c87a896c2230fee69144071f21938110",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-07-03T19:20:57.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/390fd93e4428bb88c7386104b443d4878883a5144bf0ead9608c1afc955b904b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.17.0",
      "date": "2026-07-03T19:20:46.000Z",
      "arch": "x86_64",
      "commit": "ad59a485ef80aea3679fb1839aa622723b016ec4",
      "fileid": "https://r2.ropensci.org/cd62e37d5fe7e34cdcf82b2119e889a9e1381750124058e211d1aed7bd0ce24e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/28679179601"
    }
  ]
}