Skip to content

BASiCStan

Bioc current

Stan implementation of BASiCS

v1.14.1 · Package record · software · GPL-3

Release Lineage

Entered 3.16 · Nov 2, 2022

Current · Requires R 4.6

1.0 In 8 of 49 releases 3.23

Description

Provides an interface to infer the parameters of BASiCS using the variational inference (ADVI), Markov chain Monte Carlo (NUTS), and maximum a posteriori (BFGS) inference engines in the Stan programming language. BASiCS is a Bayesian hierarchical model that uses an adaptive Metropolis within Gibbs sampling scheme. Alternative inference methods provided by Stan may be preferable in some situations, for example for particularly large data or posterior distributions with difficult geometries.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

10 2 exported

Complexity

2.9 avg / 9 max

Call network

10 nodes / 4 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

760

Files

21

Compiled share

3.6%

Has compiled src

Yes

Language breakdown

R 364 (47.9%)C/C++/src 27 (3.6%)Tests 119 (15.7%)Docs 159 (20.9%)Vignettes 91 (12%)

API

Exported functions

2

Internal functions

7

Testing

Has tests

Yes

Test-to-code ratio

0.33

testthat edition

3

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

–

Unsafe pattern score

0

Dep constraint coverage

30.8%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.2

System requirements

1 externalGNU make

C++ standard

C++17

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2022-11-01

Latest release

2026-06-30

Avg cadence

182 days

Cold removal rate

–

Dep drift

0

LOC over versions

v3.16: 744 LOCv3.17: 744 LOCv3.18: 744 LOCv3.19: 744 LOCv3.20: 744 LOCv3.21: 744 LOCv3.22: 744 LOCv3.23: 760 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
READMENoVignettesYes · 1 · dynamicNEWSYes · 67% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
3includes a package overview page
Examples that run
100%2 run in a plain check
Exported functions with examples
100%
Documented parameters
70%
Return-value docs
100%
Help pages citing references
33%

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/alanocallaghan/basicstan on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

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

Topics

Maintainer
Alan O'Callaghan

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BASiCStan")
O'Callaghan, A., & Vallejos, C. (2026). BASiCStan: Stan implementation of BASiCS (Version 1.14.1) [Computer software]. https://bioconductor.org/packages/BASiCStan

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 BASiCStan version 1.14.1 [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