fnPredictRisk: Predicts risk in disease pedigree

Description Usage Arguments Value

View source: R/EstimateRiskSrc.R

Description

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.

Usage

1
2
fnPredictRisk(lPedDis, nofBurnIn = 100, nofDraws = 30000, nofYears = 5,
  bVerbose = F)

Arguments

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

Value

list containing liability draws, risk estimates, etc


DesmondCampbell/diseaseRiskPredictor documentation built on May 14, 2019, 8:40 a.m.