orderedChrs(genoset)
orderedChrs()所属R语言包:genoset
Get chromosome names in genome order...
获得染色体的基因顺序的名字......
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Get chromosome names in genome order
获得染色体的基因顺序名称
参数----------Arguments----------
参数:object
GenoSet or RangedData
GenoSet或RangedData
Details
详情----------Details----------
orderedChrs-methods: Get chromosome names from locData data in a GenoSet. Order numerically, for numeric chromosomes, then lexically for the rest.
orderedChrs-methods:获取从locData在GenoSet数据的染色体的名字。订单数字,数字的染色体,然后词法的截断。
值----------Value----------
orderedChrs-methods: character vector with chrs in genome order
orderedChrs-methods:CHRS基因顺序与特征向量
作者(S)----------Author(s)----------
Peter M. Haverty
举例----------Examples----------
probe.names = letters[1:10]
gs = GenoSet(
locData=RangedData(ranges=IRanges(start=1:10,width=1,names=probe.names),space=c(rep("chr1",4),rep("chrX",2),rep("chr3",4)),universe="hg18"),
cn=matrix(31:60,nrow=10,ncol=3,dimnames=list(probe.names,test.sample.names)),
pData=data.frame(matrix(LETTERS[1:15],nrow=3,ncol=5,dimnames=list(test.sample.names,letters[1:5]))),
annotation="SNP6"
)
orderedChrs(gs) # c("chr1","chr3","chrX")[C(chr1“,”chr3“,”chrX“)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|