cal_rp: A function evaluting a conditional mean (CM) of being...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/familyRisk.R

Description

A function evaluting a conditional mean (CM) of being affected of the disease using family history

Usage

1
cal_rp(fam, h, prev, target)

Arguments

fam

Input file in FAM format of PLINK. Target individuals and their relatives should be all included in the FAM file.

h

Heritability of the disease

prev

Prevalence of the disease (should be specified according to the population)

target

Target individuals whose conditional mean being evaluated. This should be a index vector in the samples in the FAM file

Details

Please see the reference paper.

Value

res_rp_I

a matrix including IID and CM

Author(s)

Jungsoo Gim

References

Jungsoo Gim, 2017, Genetics, "Incorporating family disease history in risk prediction models with large-scale genetic data substantially reduces unexplained variation."

Examples

1
(you example code, each line start with #')

JungsooGIM/familyRisk documentation built on May 21, 2019, 7:53 a.m.