Skip to content

OncoSimulR

Bioc current

Forward Genetic Simulation of Cancer Progression with Epistasis

v4.14.0 · software · GPL (>= 3)

Release Lineage

Entered 3.0 · Oct 14, 2014

Current · Requires R 4.6

1.0 In 24 of 49 releases 3.23

Description

Functions for forward population genetic simulation in asexual populations, with special focus on cancer progression. Fitness can be an arbitrary function of genetic interactions between multiple genes or modules of genes, including epistasis, order restrictions in mutation accumulation, and order effects. Fitness (including just birth, just death, or both birth and death) can also be a function of the relative and absolute frequencies of other genotypes (i.e., frequency-dependent fitness). Mutation rates can differ between genes, and we can include mutator/antimutator genes (to model mutator phenotypes). Simulating multi-species scenarios and therapeutic interventions, including adaptive therapy, is also possible. Simulations use continuous-time models and can include driver and passenger genes and modules. Also included are functions for: simulating random DAGs of the type found in Oncogenetic Trees, Conjunctive Bayesian Networks, and other cancer progression models; plotting and sampling from single or multiple realizations of the simulations, including single-cell sampling; plotting the parent-child relationships of the clones; generating random fitness landscapes (Rough Mount Fuji, House of Cards, additive, NK, Ising, and Eggbox models) and plotting them.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

1585 28 exported

Complexity

7.8 avg / 117 max

Call network

1585 nodes / 2921 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

132,502

Files

258

Compiled share

51%

Has compiled src

Yes

Language breakdown

R 7,989 (6%)C/C++/src 67,524 (51%)Tests 32,874 (24.8%)Docs 5,030 (3.8%)Vignettes 19,085 (14.4%)

API

Exported functions

28

Internal functions

127

Recent export changes

v3.5+5 sampledGenotypes, POM, LOD +2 more

Testing & CI

Has tests

Yes

Test-to-code ratio

4.11

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

2

Dep constraint coverage

6.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

24

First release

2014-10-13

Latest release

2026-04-28

Avg cadence

183 days

Cold removal rate

Dep drift

13

LOC over versions

v3.0: 3,986 LOCv3.1: 3,986 LOCv3.2: 19,994 LOCv3.3: 27,406 LOCv3.4: 46,045 LOCv3.5: 52,473 LOCv3.6: 53,850 LOCv3.7: 57,951 LOCv3.8: 57,967 LOCv3.9: 58,029 LOCv3.10: 71,389 LOCv3.11: 72,566 LOCv3.12: 72,567 LOCv3.13: 115,548 LOCv3.14: 115,571 LOCv3.15: 115,571 LOCv3.16: 126,252 LOCv3.17: 126,593 LOCv3.18: 126,608 LOCv3.19: 126,608 LOCv3.20: 126,668 LOCv3.21: 126,669 LOCv3.22: 126,691 LOCv3.23: 132,502 LOC

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

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
96%
Documented parameters
90%
Return-value docs
100%
References docs
33%

Topics

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("OncoSimulR")
Diaz-Uriarte, R., Achaz, G., Annoni, H., Barrero Rodriguez, R., Beissbarth, T., Bender, C., Benitez Quesada, Y., Brouillet, S., Couce Iglesias, M., Devesa, C., Dorado Alfaro, S., Endres, N., Fernandez Pato, A., Ferretti, L., Froehlich, H., Garcia Calleja, J., Garcia Cobos, S., Garcia Hoyos, G., Gonzalez Klein, A., Gorines Cordero, G., Hernandez del Valle, M., Herrador, A., Huertas Garcia, A., Lopez Cano, J., Lopez Lopez, E., Lorca Alonso, I., Lottaz, C., Madariaga Aramendi, C., Maneck, M., Markowetz, F., Martin Mu~noz, A., Matuszewski, S., Ma~nanes Cayero, D., Miguel Gonzalez, J. A., Mu~noz Haro, J., Mu~noz Lopez, F., Niederberger, T., Palomino Cabrera, R., Parra Perez, A. M., Partow, A., Perez, P., Quevedo, A., Rodriguez Ronchel, A., Roncero Moro~no, D., Sanchez Garcia, L., Sanchez-Carrillo, S., Talavera Marcos, S., Taylor, M., Tresch, A., Tymoteusz, W., de los Reyes Benitez, A., & del Ramo Galian, A. (2026). OncoSimulR: Forward Genetic Simulation of Cancer Progression with Epistasis (Version 4.14.0) [Computer software]. https://bioconductor.org/packages/OncoSimulR

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

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