haplo.hpp: Obtain Summaries of Phase Ambiguity

View source: R/haplo.ccs.R

haplo.hppR Documentation

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.

Author(s)

Benjamin French and Thomas Lumley, University of Washington

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


data(renin)

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


haplo.ccs documentation built on April 28, 2022, 9:05 a.m.