calLK {LFSPRO}R Documentation

Calculate the likelihood Pr(D|G).

Description

Calculate the likelihood (Pr(D|G), probability of healthy status D given the genotype G) for each individual in the family.

Usage

calLK(fam.cancer.data, penetrance.all)

Arguments

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.

Value

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.

Author(s)

Gang Peng

See Also

lkNoneAffect, lfsproC, peelingRC

Examples

fam.cancer.data <- CombineData(fam.data, cancer.data)
calLK(fam.cancer.data[[1]], LFSpenet.2010)

[Package LFSPRO version 1.0.5 Index]