OncoSimulR
Bioc currentForward Genetic Simulation of Cancer Progression with Epistasis
Release Lineage
Entered 3.0 · Oct 14, 2014
Current · Requires R 4.6
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.
Call graph
Open 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
API
Exported functions
28
Internal functions
127
Recent export changes
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
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.
Documentation
- Examples that run
- 96%
- Documented parameters
- 90%
- Return-value docs
- 100%
- References docs
- 33%
Topics
People
- Ramon Diaz-Uriarte author maintainer
- Guillaume Achaz contributor
- Harry Annoni contributor
- Rafael Barrero Rodriguez contributor
- Tim Beissbarth contributor
- Christian Bender contributor
- Yolanda Benitez Quesada contributor
- Sophie Brouillet contributor
- Marta Couce Iglesias contributor
- Cristina Devesa contributor
- Sara Dorado Alfaro contributor
- Niklas Endres contributor
- Asier Fernandez Pato contributor
- Luca Ferretti contributor
- Holger Froehlich contributor
- Jorge Garcia Calleja contributor
- Silvia Garcia Cobos contributor
- Guillermo Garcia Hoyos contributor
- Alberto Gonzalez Klein author
- Guillermo Gorines Cordero contributor
- Miguel Hernandez del Valle contributor
- Alejandro Herrador contributor
- Alvaro Huertas Garcia contributor
- Javier Lopez Cano author
- Esperanza Lopez Lopez contributor
- Ivan Lorca Alonso contributor
- Claudio Lottaz contributor
- Carlos Madariaga Aramendi contributor
- Matthias Maneck contributor
- Florian Markowetz contributor
- Alejandro Martin Mu~noz contributor
- Sebastian Matuszewski contributor
- Diego Ma~nanes Cayero contributor
- Juan Antonio Miguel Gonzalez author
- Javier Mu~noz Haro author
- Francisco Mu~noz Lopez contributor
- Theresa Niederberger contributor
- Rosalia Palomino Cabrera contributor
- Alberto Manuel Parra Perez contributor
- Arash Partow contributor
- Pablo Perez contributor
- Alvaro Quevedo contributor
- Ana Rodriguez Ronchel contributor
- David Roncero Moro~no contributor
- Lucia Sanchez Garcia contributor
- Sergio Sanchez-Carrillo author
- Silvia Talavera Marcos contributor
- Mark Taylor contributor
- Achim Tresch contributor
- Wolodzko Tymoteusz contributor
- Alejandro de los Reyes Benitez contributor
- Ana del Ramo Galian contributor
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("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.
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.