discardSnpsLowMaf | R Documentation |
Discard the SNPs with a minor allele frequency below the given threshold, as well as monomorphic SNPs.
discardSnpsLowMaf(X, mafs = NULL, thresh = 0.01, rmv.mono = FALSE, verbose = 1)
X |
matrix of bi-allelic SNP genotypes encoded in allele doses in [0,2], with genotypes in rows and SNPs in columns; missing values should be encoded as NA |
mafs |
vector of minor allele frequencies; if NULL, will be estimated with |
thresh |
threshold on minor allele frequencies strictly below which SNPs are ignored |
rmv.mono |
if TRUE, monomorphic SNPs are also removed |
verbose |
verbosity level (0/1) |
matrix similar to X but possibly with less columns
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.