Description Usage Arguments Value Author(s) See Also Examples
Return the missing fraction for each sample
1 | 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
1 2 3 4 5 6 7 8 | # 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.