Skip to content

BASiCS

Bioc current

Bayesian Analysis of Single-Cell Sequencing data

v2.24.0 · software · GPL-3

Release Lineage

Entered 3.6 · Oct 31, 2017

Current · Requires R 4.6

1.0 In 18 of 49 releases 3.23

Description

Single-cell mRNA sequencing can uncover novel cell-to-cell heterogeneity in gene expression levels in seemingly homogeneous populations of cells. However, these experiments are prone to high levels of technical noise, creating new challenges for identifying genes that show genuine heterogeneous expression within the population of cells under study. BASiCS (Bayesian Analysis of Single-Cell Sequencing data) is an integrated Bayesian hierarchical model to perform statistical analyses of single-cell RNA sequencing datasets in the context of supervised experiments (where the groups of cells of interest are known a priori, e.g. experimental conditions or cell types). BASiCS performs built-in data normalisation (global scaling) and technical noise quantification (based on spike-in genes). BASiCS provides an intuitive detection criterion for highly (or lowly) variable genes within a single group of cells. Additionally, BASiCS can compare gene expression patterns between two or more pre-specified groups of cells. Unlike traditional differential expression tools, BASiCS quantifies changes in expression that lie beyond comparisons of means, also allowing the study of changes in cell-to-cell heterogeneity. The latter can be quantified via a biological over-dispersion parameter that measures the excess of variability that is observed with respect to Poisson sampling noise, after normalisation and technical noise removal. Due to the strong mean/over-dispersion confounding that is typically observed for scRNA-seq datasets, BASiCS also tests for changes in residual over-dispersion, defined by residual values with respect to a global mean/over-dispersion trend.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

156 34 exported

Complexity

3.9 avg / 26 max

Call network

156 nodes / 123 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

19,648

Files

173

Compiled share

21.4%

Has compiled src

Yes

Language breakdown

R 7,780 (39.6%)C/C++/src 4,198 (21.4%)Tests 3,572 (18.2%)Docs 3,152 (16%)Vignettes 946 (4.8%)

API

Exported functions

38

Internal functions

87

Recent export changes

v3.9+4 BASiCS_diagHist, BASiCS_diagPlot, BASiCS_effectiveSize +1 more  −2 BASiCS_D_TestDE, plot
v3.8+2 BASiCS_D_TestDE, plot

Testing & CI

Has tests

Yes

Test-to-code ratio

0.46

testthat edition

3

CI present

Yes

CI type

["github-actions","travis"]

PR gated

Yes

Docs

Roxygen coverage

94.7%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

0

Dep constraint coverage

7.4%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

18

First release

2018-03-18

Latest release

2026-04-28

Avg cadence

181 days

Cold removal rate

100%

Dep drift

17

LOC over versions

v3.6: 8,112 LOCv3.7: 11,678 LOCv3.8: 12,440 LOCv3.9: 13,682 LOCv3.10: 14,161 LOCv3.11: 18,535 LOCv3.12: 19,122 LOCv3.13: 19,112 LOCv3.14: 19,201 LOCv3.15: 19,281 LOCv3.16: 19,434 LOCv3.17: 19,617 LOCv3.18: 19,645 LOCv3.19: 19,663 LOCv3.20: 19,663 LOCv3.21: 19,663 LOCv3.22: 19,648 LOCv3.23: 19,648 LOC

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

Documentation

Documentation
READMEYes · 843 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
81%
Return-value docs
100%
References docs
23%

Topics

Depended on by (2)

Bioconductor (2)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BASiCS")
Vallejos, C., Eling, N., Marioni, J., O'Callaghan, A., & Richardson, S. (2026). BASiCS: Bayesian Analysis of Single-Cell Sequencing data (Version 2.24.0) [Computer software]. https://bioconductor.org/packages/BASiCS

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 BASiCS version 2.24.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-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