indexGenoDoses | R Documentation |
Return if a given SNP enotype is 0 or 1, even if it was imputed.
indexGenoDoses(X, boundaries = seq(from = 0, to = 2, length.out = 4))
X |
matrix of bi-allelic SNP genotypes encoded, for each SNP, in number of copies of its second allele, i.e. as allele doses in 0,1,2, with genotypes in rows and SNPs in columns; the "second" allele is arbitrary, which can be the minor or the major allele |
boundaries |
vector with interval boundaries of allele dose |
matrix of logicals with two columns, is.0 and is.1
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.