makeGeneRegion(GenomeGraphs)
makeGeneRegion()所属R语言包:GenomeGraphs
Creates an object of class Gene containing the intron-exon structures of genes
创建一个含有基因的内含子 - 外显子的结构基因类的对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates an object of class Gene containing the intron-exon structures of genes. Given a start and end position, strand and chromosome, all the intron-exon strcutures of all genes laying in this region will be retrieved.
创建一个类,包含基因的内含子 - 外显子结构基因的对象。鉴于一个开始和结束的位置,钢绞线和染色体,铺设在这一区域的所有基因的内含子 - 外显子strcutures将检索。
用法----------Usage----------
makeGeneRegion(start, end, chromosome, strand, biomart, dp = NULL)
参数----------Arguments----------
参数:start
Start position on chromosome
启动染色体上的位置
参数:end
End position on chromosome
对染色体的末端位置
参数:chromosome
Chromosome name
染色体的名字
参数:strand
Strand either + or -
斯特兰德+或 -
参数: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 (start, end, chromosome, strand, biomart, dp = NULL)
{
if (missing(start))
stop("Need to specify a start for creating a GeneRegion")
pt <- getClass("GeneRegion")@prototype
if (is.null(dp))
dp <- pt@dp
if (is.numeric(chromosome))
chromosome = as.character(chromosome)
new("GeneRegion", start = start, end = end, chromosome = chromosome,
strand = strand, biomart = biomart, dp = dp)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|