Description Usage Arguments Value Author(s) Examples
In snpStats
, the three "posterior" probabilities corresponding to
the possible values of an uncertain genotype are packed into a single
byte code (with, of course, some loss in accuracy). This function, which
is provided as an aid to writing new functions, unpacks the posterior
probabilities from the single byte codes.
1 |
x |
A vector, length N, which can be coerced into type |
transpose |
If |
A numeric matrix
David Clayton dc208@cam.ac.uk
1 2 3 4 5 6 | ##
## Read imputed data from a file produced by MACH
##
path <- system.file("extdata/mach1.out.mlprob.gz", package="snpStats")
mach <- read.mach(path)
pp(mach[1:50, 10])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.