haplo.ccs (version 1.2)

haplo.hpp: Obtain Summaries of Phase Ambiguity

Description

'haplo.hpp' obtains summary statistics of phase ambiguity. The proportion of subjects whose highest posterior diplotype probability is greater than or equal to a specified probability is reported.

Usage

haplo.hpp(model, prob=0.95)

Arguments

model
a fitted model of class '"haplo.ccs"'.
prob
the probability to which to compare the highest posterior diplotype probability for each subject. Note that the default probability is 0.95. Note also that either a single probability or a list of probabilities may be specified.

Value

  • The proportion of subjects whose highest posterior diplotype probability is greater than or equal to the specified probability or probabilities.

References

French B, Lumley T, Monks SA, Rice KM, Hindorff LA, Reiner AP, Psaty BM. Simple estimates of haplotype relative risks in case-control data. Genetic Epidemiology 2006; 30(6):485-494.

See Also

haplo, haplo.ccs

Examples

Run this code
data(renin)

haplo.hpp(model=haplo.ccs(case ~ haplo(geno)), prob=c(0.90, 0.95))

Run the code above in your browser using DataLab