Description Usage Arguments Value
View source: R/monteCarloMethods.R
Calculates the same exact probability as RVsharing, except uses monte carlo simulation instead of exact computation. This method allows for more flexibility in the scenarios considered.
1 2 3 4 5 6 7 8 | monteCarloSharingProb(
procPed,
alleleFreq = NA,
kinshipCoeff = NA,
nSim,
founderDist = NULL,
kinshipOrder = 5
)
|
procPed |
pedigree that has been through |
alleleFreq |
allele frequency among the founders |
kinshipCoeff |
mean kinship coefficient among the founders |
nSim |
number of simulations used in monte carlo calculation |
founderDist |
custom distribution among founders. Only used when simulating probability with nSim |
kinshipOrder |
order of the polynomial approximation to the distribtion of the number of distinct alleles in the founders (d in Bureau et al.). Must be <= 5 |
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.