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.
None published for Bioconductor
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
257
Compiled share
51%
Has compiled src
Yes
Language breakdown
API
Exported functions
28
Internal functions
127
Recent export changes
Testing
Has tests
Yes
Test-to-code ratio
4.11
testthat edition
–
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
- Help pages
- 24
- Examples that run
- 96%23 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 90%
- Return-value docs
- 100%
- Help pages citing references
- 33%
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/rdiaz02/oncosimul on 2026-10-22.
GitHub Pages site last deployed 2025-06-09
Datasets
| Name | Class | Size | Also in |
|---|---|---|---|
| atex2b | oncosimul | 22 elements | No other package |
| atex4 | oncosimul | 24 elements | No other package |
| atex5 | oncosimul | 24 elements | No other package |
| benchmark_1 | data.frame | 16 × 39 | No other package |
| benchmark_1_0.05 | data.frame | 16 × 39 | No other package |
| benchmark_2 | data.frame | 14 × 38 | No other package |
| benchmark_3 | data.frame | 14 × 38 | No other package |
| ex_missing_drivers_b11 | oncosimul | 19 elements | No other package |
| ex_missing_drivers_b12 | oncosimul | 19 elements | No other package |
| examplePosets | list | 13 elements | No other package |
| examplesFitnessEffects | list | 22 elements | No other package |
| mcfLs | oncosimul | 21 elements | No other package |
| osi | oncosimul | 22 elements | No other package |
| osi_with_ints | oncosimul | 23 elements | No other package |
| s_3_a | oncosimul | 22 elements | No other package |
| s_3_b | oncosimul | 22 elements | No other package |
| simT2 | oncosimul | 22 elements | No other package |
| simT3 | oncosimul | 22 elements | No other package |
| simul_period_1 | oncosimul | 22 elements | No other package |
| smyelo3v57 | oncosimul | 22 elements | No other package |
| uvex2 | oncosimul | 23 elements | No other package |
| uvex3 | oncosimul | 22 elements | No other package |
| woAntibS | oncosimul | 23 elements | No other package |
Topics
People
- Ramon Diaz-Uriarte author maintainer
-
Guillaume Achaz
contributor
MAGELLAN
-
Harry Annoni
contributor
MAGELLAN
-
Rafael Barrero Rodriguez
contributor
vignette examples
-
Tim Beissbarth
contributor
simOGraph (transitive closure)
-
Christian Bender
contributor
simOGraph (transitive closure)
-
Yolanda Benitez Quesada
contributor
vignette examples
-
Sophie Brouillet
contributor
MAGELLAN
-
Marta Couce Iglesias
contributor
vignette examples
-
Cristina Devesa
contributor
rfitness
-
Sara Dorado Alfaro
contributor
vignette examples
-
Niklas Endres
contributor
vignette examples, freq-dep-fitness time
-
Asier Fernandez Pato
contributor
vignette examples
-
Luca Ferretti
contributor
MAGELLAN
-
Holger Froehlich
contributor
simOGraph (transitive closure)
-
Jorge Garcia Calleja
contributor
vignette examples
-
Silvia Garcia Cobos
contributor
vignette examples
-
Guillermo Garcia Hoyos
contributor
vignette examples
-
Alberto Gonzalez Klein
author
user-specified death rates
-
Guillermo Gorines Cordero
contributor
rfitness
-
Miguel Hernandez del Valle
contributor
vignette examples
-
Alejandro Herrador
contributor
rfitness
-
Alvaro Huertas Garcia
contributor
vignette examples
-
Javier Lopez Cano
author
user-defined variables
-
Esperanza Lopez Lopez
contributor
vignette examples
-
Ivan Lorca Alonso
contributor
rfitness
-
Claudio Lottaz
contributor
simOGraph (transitive closure)
-
Carlos Madariaga Aramendi
contributor
vignette examples
-
Matthias Maneck
contributor
simOGraph (transitive closure)
-
Florian Markowetz
contributor
simOGraph (transitive closure)
-
Alejandro Martin Mu~noz
contributor
vignette examples
-
Sebastian Matuszewski
contributor
MAGELLAN
-
Diego Ma~nanes Cayero
contributor
vignette examples
- Juan Antonio Miguel Gonzalez author
-
Javier Mu~noz Haro
author
interventions
-
Francisco Mu~noz Lopez
contributor
rfitness
-
Theresa Niederberger
contributor
simOGraph (transitive closure)
-
Rosalia Palomino Cabrera
contributor
vignette examples
-
Alberto Manuel Parra Perez
contributor
vignette examples
-
Arash Partow
contributor
ExprTk
-
Pablo Perez
contributor
rfitness
-
Alvaro Quevedo
contributor
rfitness
-
Ana Rodriguez Ronchel
contributor
vignette examples
-
David Roncero Moro~no
contributor
rfitness
-
Lucia Sanchez Garcia
contributor
vignette examples
- Sergio Sanchez-Carrillo author
-
Silvia Talavera Marcos
contributor
vignette examples
-
Mark Taylor
contributor
plot.stream, plot.stacked
-
Achim Tresch
contributor
simOGraph (transitive closure)
-
Wolodzko Tymoteusz
contributor
multivariate hypergeometric
-
Alejandro de los Reyes Benitez
contributor
vignette examples
-
Ana del Ramo Galian
contributor
vignette examples
Cite
Cite this package
Run in R for the authors' entry:
citation("OncoSimulR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/bioinformatics/btx077, 10.1371/journal.pcbi.1007246, 10.1093/bioinformatics/btx663, 10.1186/s12859-015-0466-7.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.