monteCarloSharingProb {RVS} | R Documentation |
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.
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