snpgdsSNPList(SNPRelate)
snpgdsSNPList()所属R语言包:SNPRelate
Create a SNP list object
建立SNP名单对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A list object of SNP information including rs, chr, pos, allele and allele frequency.
一个List对象的SNP信息,包括RS,字符,POS机,等位基因和等位基因频率。
用法----------Usage----------
snpgdsSNPList(gdsobj, sample.id=NULL)
参数----------Arguments----------
参数:gdsobj
the gdsclass object in the gdsfmt package
gdsclass对象在gdsfmt包
参数:sample.id
a vector of sample id specifying selected samples; if NULL, all samples are used
一个向量的样品ID指定选取的样本,如果为NULL,所有样本都
值----------Value----------
Return an object of “snpgdsSNPListClass” including the following components:
返回一个对象的“snpgdsSNPListClass”,包括以下组成部分:
参数:rs.id
SNP id
SNP ID
参数:chromosome
SNP chromosome index
SNP染色体指数
参数:position
SNP physical position in basepair
SNP物理位置的碱基对组成的
参数:allele
reference / non-ref alleles
参考/非文献等位基因
参数:afreq
allele frequency
等位基因频率
(作者)----------Author(s)----------
Xiuwen Zheng <a href="mailto:zhengx@u.washington.edu">zhengx@u.washington.edu</a>
参见----------See Also----------
snpgdsSNPListIntersect, snpgdsSNPListStrand
snpgdsSNPListIntersect,snpgdsSNPListStrand
实例----------Examples----------
# open an example dataset (HapMap)[打开示例数据集(人类基因组单体型图)]
genofile <- openfn.gds(snpgdsExampleFileName())
# to get a snp list object[获得SNP列表对象]
snplist <- snpgdsSNPList(genofile)
# close the genotype file[关闭基因型文件]
closefn.gds(genofile)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|