Skip to content

BayesSpace

Bioc current

Clustering and Resolution Enhancement of Spatial Transcriptomes

v1.22.0 · Package record · software · MIT + file LICENSE

Release Lineage

Entered 3.12 · Oct 28, 2020

Current · Requires R 4.6

1.0 In 12 of 49 releases 3.23

Description

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.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

94 18 exported

Complexity

3.9 avg / 20 max

Call network

94 nodes / 75 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

6,801

Files

88

Compiled share

26.5%

Has compiled src

Yes

Language breakdown

R 2,890 (42.5%)C/C++/src 1,804 (26.5%)Tests 234 (3.4%)Docs 1,585 (23.3%)Vignettes 288 (4.2%)

API

Exported functions

18

Internal functions

45

Recent export changes

v3.20+5 adjustClusterLabels, coreTune, counts2h5 +2 more

Testing

Has tests

Yes

Test-to-code ratio

0.08

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

6.5%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

1 externalC++17

C++ standard

C++17

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2020-10-27

Latest release

2026-04-28

Avg cadence

177 days

Cold removal rate

–

Dep drift

11

LOC over versions

v3.12: 4,483 LOCv3.13: 4,527 LOCv3.14: 4,553 LOCv3.15: 4,553 LOCv3.16: 4,553 LOCv3.17: 4,553 LOCv3.18: 4,553 LOCv3.19: 4,553 LOCv3.20: 6,725 LOCv3.21: 6,754 LOCv3.22: 6,801 LOCv3.23: 6,801 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
READMEYes · 325 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structuredCitation fileYes · cites a publication
Help pages
42 (30 internal)includes a package overview page
Examples that run
91%10 run in a plain check · 1 never run
Exported functions with examples
92%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/edward130603/bayesspace on 2026-10-22.

Docs source (1)

GitHub Pages site last deployed 2021-08-04

How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 5
NameClassSizeAlso in
151673.Giotto_HMRFdata.frame3,639 × 3No other package
151673.stLearn_HVGsdata.frame3,639 × 3No other package
151673.stLearn_markersdata.frame3,639 × 3No other package
ST_mel1_rep2–––
ST_mel1_rep2.Giotto_HMRFdata.frame293 × 2No other package

All of BayesSpace's data objects

Topics

Maintainer
Senbai Kang

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (2)

Bioconductor (2)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("BayesSpace")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BayesSpace version 1.22.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy