| getbd5snp | R Documentation |
Seeks to the SNP's compressed block in the .bdose file, decompresses it, and returns the dosage and genotype probabilities for all samples.
getbd5snp(bd5info, snp)
bd5info |
Object returned by |
snp |
The SNP to retrieve: either a 1-based integer index or a
character SNP ID matching a value in |
A list with four numeric vectors, each of length n_samples:
DS values in [0, 2]; NA = missing.
P(g=0) values in [0, 1]; NA = missing.
P(g=1) values in [0, 1]; NA = missing.
P(g=2) values in [0, 1]; NA = missing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.