snpgdsSampMissRate | R Documentation |
Return the missing fraction for each sample
snpgdsSampMissRate(gdsobj, sample.id=NULL, snp.id=NULL, with.id=FALSE)
gdsobj |
an object of class |
sample.id |
a vector of sample id specifying selected samples;
if |
snp.id |
a vector of snp id specifying selected SNPs;
if |
with.id |
if |
A vector of numeric values.
Xiuwen Zheng
snpgdsSNPRateFreq
# open an example dataset (HapMap)
genofile <- snpgdsOpen(snpgdsExampleFileName())
RV <- snpgdsSampMissRate(genofile)
summary(RV)
# close the genotype file
snpgdsClose(genofile)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.