Description Usage Arguments Value Examples
View source: R/stochastic_simulation.R
Merge (i.e. sum) the abundance of the different allelic versions of each molecule in the results of a simulation.
1 |
df |
A dataframe with the abundance of the different molecules over time (from |
A dataframe in which the abundance of the different allelic versions of the same molecule have been merged to give the abundance of the molecule (without distinction of the allele of origin).
1 2 3 4 5 6 | mysystem = createInSilicoSystem(G = 5, empty = TRUE, ploidy = 2)
mypop = createInSilicoPopulation(1, mysystem)
sim = simulateInSilicoSystem(mysystem, mypop, 100)
head(sim$Simulation)
mergedAllelic = mergeAlleleAbundance(sim$Simulation)
head(mergedAllelic)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.