Bioc2026 Registration Open!

spacexr

SpatialeXpressionR: Cell Type Identification in Spatial Transcriptomics

Bioconductor version: 3.23 · Package version: 1.4.0

Spatial-eXpression-R (spacexr) is a package for analyzing cell types in spatial transcriptomics data. This implementation is a fork of the spacexr GitHub repo (https://github.com/dmcable/spacexr), adapted to work with Bioconductor objects. The original package implements two statistical methods: RCTD for learning cell types and CSIDE for inferring cell type-specific differential expression. Currently, this fork only implements RCTD, which learns cell type profiles from annotated RNA sequencing (RNA-seq) reference data and uses these profiles to identify cell types in spatial transcriptomic pixels while accounting for platform-specific effects. Future releases will include an implementation of CSIDE.

Installation

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("spacexr")

Details

MaintainerGabriel Grajeda <gabriel.grajeda@gmail.com>
AuthorDylan Cable [aut], Rafael Irizarry [aut] (ORCID: <https://orcid.org/0000-0002-3944-4309>), Gabriel Grajeda [cre] (ORCID: <https://orcid.org/0009-0003-7242-7476>), Fannie and John Hertz Foundation [fnd]
LicenseGPL (>= 3)
URLhttps://github.com/ggrajeda/spacexr
Bug Reportshttps://github.com/ggrajeda/spacexr/issues
Downloads rank528
Source branchRELEASE_3_23
biocViewsDifferentialExpression, GeneExpression, RNASeq, SingleCell, Software, Spatial, Transcriptomics

Documentation

Download

Dependencies

Depends: R (>= 4.5.0)

Imports: ggplot2, Matrix, parallel, quadprog, httr, methods, memoise, BiocParallel, BiocFileCache, SummarizedExperiment, scatterpie, SpatialExperiment

Suggests: BiocStyle, knitr, rmarkdown, testthat