Skip to content

ClonalSim

Bioc current

Simulation of Tumor Clonal Evolution with Realistic Sequencing Noise

v1.0.0 · software · MIT + file LICENSE

Release Lineage

Entered 3.23 · Apr 29, 2026

Current · Requires R 4.6

1.0 In 1 of 49 releases 3.23

Description

ClonalSim generates realistic mutational profiles of tumor samples with hierarchical clonal structure. It simulates founder, shared, and private mutations with biologically realistic noise models including intra-tumor heterogeneity (Beta distribution) and technical sequencing noise (negative binomial depth variation, binomial read sampling, base errors). The package is designed for benchmarking variant callers, testing clonal deconvolution algorithms, and teaching tumor heterogeneity concepts.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

18 16 exported

Complexity

3.7 avg / 20 max

Call network

18 nodes / 5 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

3,247

Files

44

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,424 (43.9%)Tests 510 (15.7%)Docs 852 (26.2%)Vignettes 461 (14.2%)

API

Exported functions

16

Internal functions

2

Recent export changes

v3.23+16 ClonalSimData, applyBiologicalNoise, getClonalStructure +13 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.36

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.6.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-04-28

Latest release

2026-04-28

Avg cadence

Cold removal rate

Dep drift

0

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

Documentation

Documentation
READMEYes · 749 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
96%
Return-value docs
100%
References docs
5%

Topics

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ClonalSim")
Bucci, G. (2026). ClonalSim: Simulation of Tumor Clonal Evolution with Realistic Sequencing Noise (Version 1.0.0) [Computer software]. https://bioconductor.org/packages/ClonalSim

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

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