ChrBandTree-class(Category)
ChrBandTree-class()所属R语言包:Category
Class "ChrBandTree"
类“ChrBandTree”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This class represents chromosome band annotation data for a given experiment. The class is responsible for storing the mapping of band to set of gene IDs located within that band as well as for representing the tree structured relationship among the bands.
这个类表示染色体带注释对于一个给定的实验数据。类是负责存储映射带位于带内,以及代表乐队之间的结构关系树的基因ID设置。
类的对象----------Objects from the Class----------
Objects should be created using NewChrBandTree or ChrBandTreeFromGraph.
使用NewChrBandTree或ChrBandTreeFromGraph应该创建对象。
插槽----------Slots----------
toParentGraph: Object of class "graph" representing the tree of chromosome bands. Edges in this directed
toParentGraph:Object类的"graph"代表染色体带的树。这个指示的边缘
toChildGraph: Object of class "graph". This is the same as toParentGraph, but with the edge directons reversed. This is not an ideal implementation due to the duplication of data, but it provides quick access to parents or
toChildGraph类"graph"的对象。这是toParentGraph相同,但与边缘directons扭转。这不是一个理想的实现,由于重复数据,但它提供了快速访问家长或
root: Object of class "character" giving the
root:Object类的"character"给予
level2nodes: Object of class "list" providing a mapping of levels in the tree to the set of nodes at that level. Levels X is defined as the set of nodes with a path length of
level2nodes类"list"提供了一个在树中的级别在该级别的节点集的映射对象。各级X路径长度定义为节点集
方法----------Methods----------
allGeneIds Return a vector of gene IDs representing the gene
allGeneIds返回代表基因的基因标识的向量
childrenOf Return a list with an element for each the character vector n. Each element is a character vector of
childrenOf返回列表元素为每个特征向量n。每个元素都是一个特征向量
geneIds Return a vector of gene IDs for a single band.
geneIds返回一个单波段向量的基因标识。
lgeneIds Return a list of vectors of gene IDs when given more
lgeneIds返回时给予更多的基因标识的向量
parentOf Return the parents of the specified bands. See childrenOf for a description of the structure of the return
parentOf返回指定频段的父母。看到childrenOf回报结构的描述
treeLevels Return an integer vector identifying the levels of
treeLevels返回一个整数向量确定水平
level2nodes(g, level) Return the nodes in the tree that are at the level specified by level. The level argument can be either numeric or character, but should match a level returned by
level2nodes(G级)返回树中的节点是在level指定的水平。 level参数可以是数字或人物,而是应该返回的水平相匹配
注意----------Note----------
Not all known chromosome bands will be represented in a given instance. The set of bands that will be present is determined by the available annotation data and the specified gene universe. The annotation source maps genes to their most specific band. Such bands and all bands on the path to the root will be represented in the resulting tree.
并非所有已知的染色体带将代表在给定的实例。决定组乐队,这将是目前可用的注释数据和指定的基因宇宙。注释的源图的基因,他们的最具体的乐队。这样的乐队和根路径上的所有波段,将代表在结果树。
Currently there is only support for human and mouse data.
目前只支持人类和小鼠的数据。
作者(S)----------Author(s)----------
S. Falcon
举例----------Examples----------
library("hgu95av2.db")
set.seed(0xfeee)
univ = NULL ## use all Entrez Gene IDs on the chip (not recommended)[#使用芯片上所有的Entrez基因ID(不推荐)]
ct = NewChrBandTree("hgu95av2.db", univ)
length(allGeneIds(ct))
exampleLevels(ct)
geneIds(ct, "10p11")
lgeneIds(ct, "10p11")
lgeneIds(ct, c("10p11", "Yq11.22"))
pp = parentOf(ct, c("10p11", "Yq11.22"))
childrenOf(ct, unlist(pp))
treeLevels(ct)
level2nodes(ct, 0)
level2nodes(ct, 0L)
level2nodes(ct, "0")
level2nodes(ct, 1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|