makeGene(GenomeGraphs)
makeGene()所属R语言包:GenomeGraphs
Creates an object of class Gene
创建一个对象类基因
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates an object of class Gene. This represents a gene structure as annotated in Ensembl.
创建一个对象类基因。这代表了Ensembl的注释的基因结构。
用法----------Usage----------
makeGene(id, type, biomart, dp = NULL)
参数----------Arguments----------
参数:id
An identifier used to specify of which gene the intron-exon structure should be retrieved
标识符用来指定应该基因的内含子 - 外显子结构检索
参数:type
The type of identifiers used, examples are ensembl\_gene\_id, hgnc\_symbol,entrezgene. See listAttributes function of the biomaRt package for more info
类型的标识符使用的例子是ENSEMBL \ _gene \的_id,hgnc \ _symbol,entrezgene。更多listAttributes的biomaRt包的功能
参数:biomart
Mart object, created by the useMart function of biomaRt
沃尔玛对象,创建由biomaRt useMart功能
参数:dp
object of class DisplayPars, determines the display of features on the plot
类DisplayPars对象,决定对图显示功能
值----------Value----------
An object of class Gene
一个对象的类基因
作者(S)----------Author(s)----------
Steffen Durinck and Jim Bullard
参考文献----------References----------
<h3>See Also</h3>
举例----------Examples----------
##---- Should be DIRECTLY executable !! ----[#----应直接执行!! ----]
##-- ==> Define data, use random,[ - ==>定义数据,使用随机的,]
##-- or do help(data=index) for the standard data sets.[# - 或做帮助的标准数据集(数据索引)。]
## The function is currently defined as[#函数定义为]
function (id, type, biomart, dp = NULL)
{
if (missing(id))
stop("Need to specify a gene identifier for creating a Gene")
pt <- getClass("Gene")@prototype
if (is.null(dp))
dp <- pt@dp
if (missing(type))
type = pt@type
new("Gene", id = id, type = type, biomart = biomart, dp = dp)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|