haplo.hpp {haplo.ccs}R 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

See Also

haplo, haplo.ccs

Examples


data(renin)

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


[Package haplo.ccs version 1.1 Index]