Description Usage Arguments Value Author(s) See Also Examples
View source: R/SNPRelate_Main.r
Return the missing fraction for each sample
1 | snpgdsSampMissrate(gdsobj, sample.id=NULL, snp.id=NULL)
|
gdsobj |
a GDS file object ( |
sample.id |
a vector of sample id specifying selected samples; if NULL, all samples are used |
snp.id |
a vector of snp id specifying selected SNPs; if NULL, all SNPs are used |
a vector of numeric values
Xiuwen Zheng
1 2 3 4 5 6 7 8 | # open an example dataset (HapMap)
genofile <- openfn.gds(snpgdsExampleFileName())
RV <- snpgdsSampMissrate(genofile)
summary(RV)
# close the genotype file
closefn.gds(genofile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.