找回密码
 注册
查看: 447|回复: 0

R语言 GenomeGraphs包 HighlightRegion-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 19:14:38 | 显示全部楼层 |阅读模式
HighlightRegion-class(GenomeGraphs)
HighlightRegion-class()所属R语言包:GenomeGraphs

                                        Class "HighlightRegion" is used to highlight vertical blocks of
                                         用于类“HighlightRegion”突出垂直块

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

HighlightRegion is used to highlight a genomic region of interest. The class offers the ability to highlight or block
HighlightRegion用于突出一个感兴趣的基因组区域。类提供能力突出或阻止


类的对象----------Objects from the Class----------

Objects can be created by calls of the form new("HighlightRegion", ...).
创建对象可以通过检测的形式new("HighlightRegion", ...)。


插槽----------Slots----------




start: Object of class "numeric" genomic start position.
start类"numeric"基因组的起始位置的对象。




end: Object of class "numeric" genomic end
end类"numeric"基因年底对象




region: Object of class "numericOrNull" start and end number of the tracks to be covered by the region. These start from the first track (top = 1) to the last track:
region类"numericOrNull"开始和结束,要由该区域所涵盖的曲目数量的对象。这些从第一首曲目(顶部= 1)的最后一首曲目的开始:




coords: Object of class "character" can be either "genomic" or "absolute", if the coordinates are "absolute" then one can plot things using the coordinate space defined by: lower-left (0,0) upper-right (1,1). In this case, start = x0, end = x1 and then region = (y0, y1). See the examples for more details.
coords:"character"类对象可以是“基因”或“绝对”,如果坐标是“绝对”,那么就可以绘制的东西使用的坐标空间中定义:左下(0,0),右上角(1,1)。在这种情况下,开始= X0,结束= x1和区域则=(Y0,Y1)。看到更详细的例子。




dp: Object of class "DisplayPars" specifys the various display parameters.
dp:"DisplayPars"类对象specifys各种显示参数。


延伸----------Extends----------

Class "gdObject", directly.
类"gdObject",直接。


方法----------Methods----------

No methods defined with class "HighlightRegion" in the signature.
没有任何方法定义类的“HighlightRegion”签名。


作者(S)----------Author(s)----------


James Bullard



举例----------Examples----------


if (interactive()) {
data("exampleData", package="GenomeGraphs")

ga <- new("GenomeAxis")
grF <- new("GeneRegion", start = 10000, end = 20000, chromosome = "I", strand = "+", biomart = yeastMart)
grR <- new("GeneRegion", start = 10000, end = 20000, chromosome = "I", strand = "-", biomart = yeastMart)
bt <- new("BaseTrack", base = yeastCons1[,1], value = yeastCons1[,2])
hr1 <- new("HighlightRegion", start = 11000, end = 13000,
           dp = DisplayPars(alpha = 1, color = "red", lty = "dashed", lwd = 3))
hr2 <- new("HighlightRegion", start = 15900, end = 16500)
         
gdPlot(list(grF, ga, grR, bt), highlightRegions = list(hr1, hr2))
}

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-7 14:57 , Processed in 0.029625 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表