Description Usage Arguments Value
View source: R/EstimateRiskSrc.R
A Gibbs sampler is used to draw samples from the pedigree's posterior liability distribution. From this set of draws risk and n year risk is predicted for each pedigree member.
1 2 | fnPredictRisk(lPedDis, nofBurnIn = 100, nofDraws = 30000, nofYears = 5,
bVerbose = F)
|
lPedDis |
disease model and pedigree info |
nofBurnIn |
number of initial iterations of Gibbs sampler to be ignored |
nofDraws |
number of draws from posterior pedigree liability distribution |
nofYears |
number of years for n year risk calculation |
bVerbose |
boolean for reporting plots |
list containing liability draws, risk estimates, etc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.