找回密码
 注册
查看: 350|回复: 0

R语言 SNPRelate包 snpgdsSNPListStrand()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 11:16:08 | 显示全部楼层 |阅读模式
snpgdsSNPListStrand(SNPRelate)
snpgdsSNPListStrand()所属R语言包:SNPRelate

                                         Switch allele strand.
                                         切换等位基因链。

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

To get a logical vector, indicating whether allele references of snplist2 need to be switched, with respect to snplist1.
为了得到一个逻辑向量,指示是否等位基因参考文献snplist2需要切换,相对于到snplist1。


用法----------Usage----------


snpgdsSNPListStrand(snplist1, snplist2)



参数----------Arguments----------

参数:snplist1
the first SNP list object “snpgdsSNPListClass”
第一SNP列表对象“snpgdsSNPListClass”的


参数:snplist2
the second SNP list object “snpgdsSNPListClass”
第二个SNP列表对象“snpgdsSNPListClass”的


值----------Value----------

a logical vector, where TRUE indiciates the allele references need to be switched, and NA indiciates that locus is not in the common snp list.
逻辑向量,其中TRUE indiciates等位基因引用需要切换,和NA indiciates轨迹是不常见的SNP列表。


(作者)----------Author(s)----------


Xiuwen Zheng <a href="mailto:zhengx@u.washington.edu">zhengx@u.washington.edu</a>



参见----------See Also----------

snpgdsSNPList, snpgdsSNPListStrand
snpgdsSNPList,snpgdsSNPListStrand


实例----------Examples----------


# open an example dataset (HapMap)[打开示例数据集(人类基因组单体型图)]
genofile <- openfn.gds(snpgdsExampleFileName())

# to get a snp list object[获得SNP列表对象]
snplist1 <- snpgdsSNPList(genofile)
snplist2 <- snpgdsSNPList(genofile)

# a common snp list[一个常见的SNP列表]
L <- snpgdsSNPListStrand(snplist1, snplist2)

table(L, exclude=NULL)

# close the genotype file[关闭基因型文件]
closefn.gds(genofile)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-7 21:57 , Processed in 0.027930 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表