chromosomesPosition(CNAnorm)
chromosomesPosition()所属R语言包:CNAnorm
Accessors methods for Function ratio in Package ‘CNAnorm’
包CNAnorm功能比存取方法“
译者:生物统计家园网 机器人LoveR
描述----------Description----------
chrs returns/set the name of chromosomes/contigs
chrs回报/染色体/重叠群的名称
pos returns/set the position of starting window. Be careful! If you need to change data, it is better to change the input data and start over.
pos回报/设置出发窗口的位置。要小心!如果您需要更改数据,最好是改变输入数据,并重新开始。
用法----------Usage----------
chrs(object)
pos(object)
参数----------Arguments----------
参数:object
An object of Class "CNAnorm"
一个对象的类"CNAnorm"
值----------Value----------
chrs returns a numeric vector, pos returns a numeric vector
chrs返回一个数值向量,pos返回一个数值向量
作者(S)----------Author(s)----------
Stefano Berri <s.berri@leeds.ac.uk>
参见----------See Also----------
gcNorm, CNAnorm-class
gcNorm,CNAnorm-class
举例----------Examples----------
data(LS041)
CN <- dataFrame2object(LS041)
dataFrameNames <- as.character(LS041$Chr)
objectNames <- chrs(CN)
# check the names are, indeed, the same[检查的名称,事实上,在同一]
all(dataFrameNames == objectNames)
# make shorter names, drop the first three letters ('chr')[较短的名称,下降的前三个字母(字符)]
shortNames <- substr(chrs(CN),4,nchar(chrs(CN)))
chrs(CN) <- shortNames
# retrieve all new names[检索所有新名称]
unique(chrs(CN))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|