DOI: 10.18129/B9.bioc.BayesSpace  

This package is for version 3.16 of Bioconductor; for the stable, up-to-date release version, see BayesSpace.

Clustering and Resolution Enhancement of Spatial Transcriptomes

Bioconductor version: 3.16

Tools for clustering and enhancing the resolution of spatial gene expression experiments. BayesSpace clusters a low-dimensional representation of the gene expression matrix, incorporating a spatial prior to encourage neighboring spots to cluster together. The method can enhance the resolution of the low-dimensional representation into "sub-spots", for which features such as gene expression or cell type composition can be imputed.

Author: Edward Zhao [aut], Matt Stone [aut, cre], Xing Ren [ctb], Raphael Gottardo [ctb]

Maintainer: Matt Stone <mstone at>

Citation (from within R, enter citation("BayesSpace")):


To install this package, start R (version "4.2") and enter:

if (!require("BiocManager", quietly = TRUE))


For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



HTML R Script BayesSpace
PDF   Reference Manual
Text   NEWS


biocViews Clustering, DataImport, GeneExpression, ImmunoOncology, SingleCell, Software, Transcriptomics
Version 1.8.2
In Bioconductor since BioC 3.12 (R-4.0) (2.5 years)
License MIT + file LICENSE
Depends R (>= 4.0.0), SingleCellExperiment
Imports Rcpp (>=, stats, purrr, scater, scran, SummarizedExperiment, coda, rhdf5, S4Vectors, Matrix, assertthat, mclust, RCurl, DirichletReg, xgboost, utils, ggplot2, scales, BiocFileCache, BiocSingular
LinkingTo Rcpp, RcppArmadillo, RcppDist, RcppProgress
Suggests testthat, knitr, rmarkdown, igraph, spatialLIBD, dplyr, viridis, patchwork, RColorBrewer, Seurat
SystemRequirements C++11
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package BayesSpace_1.8.2.tar.gz
Windows Binary (64-bit only)
macOS Binary (x86_64) BayesSpace_1.8.2.tgz
macOS Binary (arm64) BayesSpace_1.8.2.tgz
Source Repository git clone
Source Repository (Developer Access) git clone
Bioc Package Browser
Package Short Url
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: