recipe bioconductor-oncosimulr

Forward Genetic Simulation of Cancer Progression with Epistasis



GPL (>= 3)




biotools: oncosimulr

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.

package bioconductor-oncosimulr

(downloads) docker_bioconductor-oncosimulr



depends bioconductor-graph:


depends bioconductor-graph:


depends bioconductor-rgraphviz:


depends bioconductor-rgraphviz:


depends libblas:


depends libgcc-ng:


depends liblapack:


depends libstdcxx-ng:


depends r-base:


depends r-car:

depends r-data.table:

depends r-dplyr:

depends r-ggplot2:

depends r-ggrepel:

depends r-gtools:

depends r-igraph:

depends r-rcolorbrewer:

depends r-rcpp:


depends r-smatr:

depends r-stringr:



You need a conda-compatible package manager (currently either micromamba, mamba, or conda) and the Bioconda channel already activated (see set-up-channels).

While any of above package managers is fine, it is currently recommended to use either micromamba or mamba (see here for installation instructions). We will show all commands using mamba below, but the arguments are the same for the two others.

Given that you already have a conda environment in which you want to have this package, install with:

   mamba install bioconductor-oncosimulr

and update with::

   mamba update bioconductor-oncosimulr

To create a new environment, run:

mamba create --name myenvname bioconductor-oncosimulr

with myenvname being a reasonable name for the environment (see e.g. the mamba docs for details and further options).

Alternatively, use the docker container:

   docker pull<tag>

(see `bioconductor-oncosimulr/tags`_ for valid values for ``<tag>``)

Download stats