Skip to content

BASiCS

Bioc current

Bayesian Analysis of Single-Cell Sequencing data

v2.24.0 · Package record · 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.

Advisories

None published for Bioconductor

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,647

Files

159

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 945 (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

Has tests

Yes

Test-to-code ratio

0.46

testthat edition

3

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,111 LOCv3.7: 11,677 LOCv3.8: 12,439 LOCv3.9: 13,681 LOCv3.10: 14,160 LOCv3.11: 18,534 LOCv3.12: 19,121 LOCv3.13: 19,111 LOCv3.14: 19,200 LOCv3.15: 19,280 LOCv3.16: 19,433 LOCv3.17: 19,616 LOCv3.18: 19,644 LOCv3.19: 19,662 LOCv3.20: 19,662 LOCv3.21: 19,662 LOCv3.22: 19,647 LOCv3.23: 19,647 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 · 843 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
56
Examples that run
100%39 run in a plain check
Exported functions with examples
93%
Documented parameters
81%
Return-value docs
100%
Help pages citing references
23%

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/catavallejos/basics on 2026-10-21.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

The R CMD check workflow runs on Linux

Reproducibility and dev environment (1)
Dockerfile
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 4
NameClassSizeAlso in
ChainRNA–––
ChainRNAReg–––
ChainSC–––
ChainSCReg–––

All of BASiCS's data objects

Topics

Maintainer
Catalina Vallejos

Available on

CRANr2uBioconductorautoCRANCOPR

Depended on by (1)

Bioconductor (1)

Suggested by (1)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("BASiCS")

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

From data release v2026-10-25, 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