{
  "_id": "6a1b0c901d7bb097a0a07d82",
  "Package": "SPOTlight",
  "Version": "1.16.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-release.r-universe.dev",
  "Date/Publication": "2026-04-28 12:58:11 UTC",
  "RemoteUrl": "https://github.com/bioc/SPOTlight",
  "RemoteRef": "RELEASE_3_23",
  "RemoteSha": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-30 11:02:01 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": "36f73390fe95aa89e7230e85f4355e10",
  "_user": "bioc-release",
  "_type": "src",
  "_file": "SPOTlight_1.16.0.tar.gz",
  "_fileid": "73445e7edef13d539f4d367a56da91935a468e937a3c93ace20587a208f5ed35",
  "_filesize": 4256009,
  "_sha256": "73445e7edef13d539f4d367a56da91935a468e937a3c93ace20587a208f5ed35",
  "_created": "2026-05-30T11:02:01.000Z",
  "_published": "2026-05-30T16:13:04.919Z",
  "_jobs": [
    {
      "job": 78644368253,
      "time": 264,
      "config": "bioc-checks",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307788712"
    },
    {
      "job": 78644368252,
      "time": 507,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307757297"
    },
    {
      "job": 78644368263,
      "time": 465,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307805819"
    },
    {
      "job": 78644368262,
      "time": 360,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307744393"
    },
    {
      "job": 78644368268,
      "time": 435,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307803210"
    },
    {
      "job": 78644368255,
      "time": 414,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7309529198"
    },
    {
      "job": 78644368275,
      "time": 398,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7307758004"
    },
    {
      "job": 78644368259,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7309507286"
    },
    {
      "job": 78644368260,
      "time": 528,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307767324"
    },
    {
      "job": 78643804686,
      "time": 422,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307711323"
    },
    {
      "job": 78644368244,
      "time": 219,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7307784734"
    },
    {
      "job": 78644368267,
      "time": 605,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7307816824"
    },
    {
      "job": 78644368264,
      "time": 696,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7307824492"
    },
    {
      "job": 78644368272,
      "time": 342,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7307794168"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 7
  },
  "_buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bioc/SPOTlight",
  "_commit": {
    "id": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
    "author": "A Wokaty <andres.wokaty@sph.cuny.edu>",
    "committer": "A Wokaty <andres.wokaty@sph.cuny.edu>",
    "message": "bump x.y.z version to even y prior to 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": false,
  "_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": 1
    }
  ],
  "_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": 218,
  "_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/RELEASE_3_23/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.89955787725366,
  "_indexed": false,
  "_nocasepkg": "spotlight",
  "_universes": [
    "bioc-release"
  ],
  "_indexurl": "https://bioc.r-universe.dev/SPOTlight",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.16.0",
      "date": "2026-05-30T11:06:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "3f7c6f8cbfa8e636aefe6b134132f9900f61ed9f52aa8bba6d1e97f2f0c09e2d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.16.0",
      "date": "2026-05-30T11:17:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "c185a13dc60dab0941a1e1df4f2e30a2582e0cf5983cad0dda81930a5d83ad0f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.16.0",
      "date": "2026-05-30T11:06:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "9565bb35269800615162473d8d16c213e047405aa4db3c5dc6be5d2b2f75277b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.16.0",
      "date": "2026-05-30T11:16:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "919bab1114e1250fb01a61f2b97b49b65425fba7aadf79d4bd7154c640628733",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.16.0",
      "date": "2026-05-30T16:08:06.000Z",
      "arch": "aarch64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "95eb6b19460164a2d444b1101fe2527883823ffac3585110438655f73e6f5158",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.16.0",
      "date": "2026-05-30T11:07:37.000Z",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "df0739ce7d3137a98fac89d3789fe302c1a18f99c4889dc147f32e18e2e204ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.16.0",
      "date": "2026-05-30T16:07:20.000Z",
      "arch": "aarch64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "6d61b70d16312c04a03d7957b0abf4d949ab4fa84cdf36ec94588147f587164e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.16.0",
      "date": "2026-05-30T11:08:37.000Z",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "123774bbed8abd0713c3ab6803cc75fde62c55a51348d8405fc43499ac4da14f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.16.0",
      "date": "2026-05-30T11:16:14.000Z",
      "arch": "emscripten",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "59a211cfed78caae410c2a04511219c551891bd3b0a7c3b5472759a6826cb29a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.16.0",
      "date": "2026-05-30T11:19:19.000Z",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "8b74a198f2c71cfb9bf662fffd254ae1c26be80b3ed98519c341151ec9f5ef52",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.16.0",
      "date": "2026-05-30T11:19:39.000Z",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "d263e070272433bf7ae299bf0952cce0bd68e7cb03f56bf6ee59485494933614",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.16.0",
      "date": "2026-05-30T11:14:32.000Z",
      "arch": "x86_64",
      "commit": "0a54588cec957dd8bf9275af12272b23cbc7fc8b",
      "fileid": "6703597462570a8d150849acc45a615c90b3d08e76212c5d3ca6c7e59b19be3d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bioc-release/actions/runs/26680939379"
    }
  ]
}