calLK {LFSPRO} | R Documentation |
Calculate the likelihood (Pr(D|G), probability of healthy status D given the genotype G) for each individual in the family.
calLK(fam.cancer.data, penetrance.all)
fam.cancer.data |
Data including family information and cancer information. See fam.cancer.data for details. |
penetrance.all |
The penetrance of three kinds of genotype (wild type, one copy TP53 mutation and two copy TP53 mutation) for male and female in the population. See LFSpenet.2010 for details. |
Return a n*3 matrix. The likelihood of three kinds of genotype for each individual in the family. n denotes the number of individuals in the family.
Gang Peng
lkNoneAffect
, lfsproC
, peelingRC
fam.cancer.data <- CombineData(fam.data, cancer.data) calLK(fam.cancer.data[[1]], LFSpenet.2010)