makeCommonSNPs(GGtools)
makeCommonSNPs()所属R语言包:GGtools
confine the SNPs (in multiple chromosomes) in all elements of a list of smlSets to the largest shared subset per chromosome;
局限于smlSets最大子集,每个染色体的共享列表的所有元素的单核苷酸多态性(多个染色体);
译者:生物统计家园网 机器人LoveR
描述----------Description----------
confine the SNPs (in multiple chromosomes) in all elements of a list of smlSets to the largest shared subset per chromosome; test for satisfaction of this condition
限制在smlSets最大子集,每个染色体的共享列表所有元素的SNPs(多个染色体);这种状况的满意度试验
用法----------Usage----------
makeCommonSNPs(listOfSms)
checkCommonSNPs(listOfSms)
参数----------Arguments----------
参数:listOfSms
an R list with each element consisting of a smlSet-class
与每一个smlSet-class组成元素的R列表
Details
详情----------Details----------
intersection of set of rsids per chromosome is computed over all elements
一套每个染色体rsids的交点计算的所有元素
值----------Value----------
list of smlSet instances sharing all SNP on all chromosomes
列表中的所有染色体上所有的SNP smlSet共享实例
作者(S)----------Author(s)----------
VJ Carey <stvjc@channing.harvard.edu>
举例----------Examples----------
data(smlSet.example)
tmp = smList(smlSet.example)[[1]]
tmp = tmp[,-c(20:40)]
newe = new.env()
assign("smList", list(`21`=tmp), newe)
ex2 = smlSet.example
ex2@smlEnv = newe
try(checkCommonSNPs(list(smlSet.example,ex2)))
list2 = makeCommonSNPs( list(smlSet.example, ex2) )
checkCommonSNPs(list2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|