chromLocation-class(annotate)
chromLocation-class()所属R语言包:annotate
Class chromLocation, a class for describing genes and their
的类chromLocation,一类用于描述基因及其
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class provides chromosomal information provided by a Bioconductor metadata package. By creating the object once for a particular package, it can be used in a variety of locations without the need to recomputed values repeatedly.
这个类提供了由Bioconductor元数据包提供的染色体信息。对象一旦创建一个特定的包,它可以被用来在不同的位置,而不需要多次重新计算值。
创建对象----------Creating Objects----------
new('chromLocation', organism = ...., # Object of class character<br> dataSource = ...., # Object of class character<br> chromLocs = ...., # Object of class list<br> probesToChrom = ...., # Object of class ANY<br> chromInfo = ...., # Object of class numeric<br> geneSymbols = ...., # Object of class ANY<br>
new('chromLocation', organism = ...., # Object of class character参考 dataSource = ...., # Object of class character参考 chromLocs = ...., # Object of class list参考 probesToChrom = ...., # Object of class ANY参考 chromInfo = ...., # Object of class numeric参考 geneSymbols = ...., # Object of class ANY参考
插槽----------Slots----------
organism: Object of class "character". The organism
organism:“人物”类的对象。有机体
dataSource: Object of class "character". The source of
dataSource:“人物”类的对象。之源
chromLocs: Object of class "list". A list which
chromLocs:类“名单”的对象。一个列表
probesToChrom: An object with an environment-like API which will translate a probe identifier to chromosome it belongs
probesToChrom“:对象与环境的API,这将转化染色体探针标识符,它属于
chromInfo: A numerical vector representing each chromosome, where the names are the names of the chromosomes and
chromInfo:每个染色体代表一个数值向量,其中姓名是染色体的名称和
geneSymbols: An environment or an object with environment-like API that maps a probe ID to
geneSymbols:一种环境或与环境状的API的对象映射一个探针ID
方法----------Methods----------
chromLengths (chromLocation): Gets the lengths of the
chromLengths(chromLocation):获取的长度
chromLocs (chromLocation): Gets the 'chromLocs' attribute.
chromLocs(chromLocation):获取chromLocs属性。
chromNames (chromLocation): Gets the name of the chromosomes
chromNames(chromLocation):获取染色体的名称
dataSource (chromLocation): Gets the 'dataSource' attribute.
数据源(chromLocation):获取数据源“属性。
probesToChrom (chromLocation): Gets the 'probesToChrom' attribute.
probesToChrom(chromLocation):获取probesToChrom属性。
nChrom (chromLocation): gets the number of chromosomes this
nChrom(chromLocation):得到的染色体数目
organism (chromLocation): gets the 'organism' attribute.
生物体(chromLocation):获得“有机体”的属性。
chromInfo Gets the 'chromInfo' attribute.
chromInfo获取属性“chromInfo”。
geneSymbols Gets the 'geneSymbols' attribute.
geneSymbols获取属性“geneSymbols”。
参见----------See Also----------
buildChromLocation
buildChromLocation
举例----------Examples----------
library("hgu95av2.db")
z <- buildChromLocation("hgu95av2")
## find the number of chromosomes[#发现的染色体数目。]
nChrom(z)
## Find the names of the chromosomes[#寻找染色体的名字。]
chromNames(z)
## get the organism this object refers to[#得到这个对象是指生物体]
organism(z)
## get the lengths of the chromosomes in this object[#在此对象的染色体的长度]
chromLengths(z)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|