Description Usage Arguments Details Value
View source: R/monteCarloMethods.R
Given a number of simulations and a distribution of variants in the founders, this function simulates possbile outcomes of the pedigree and returns a sharing probability.
1 | runMonteCarlo(procPed, founderDist, nSim)
|
procPed |
pedigree that has been through |
founderDist |
custom distribution among founders. Only used when simulating probability with nSim |
nSim |
number of simulations used in monte carlo calculation |
If the number of simulations is greater than 20,000 then the computation is done in parallel (as long as the package parallel is available)
sharing probability between all carriers in pedigree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.