makeBaseTrack(GenomeGraphs)
makeBaseTrack()所属R语言包:GenomeGraphs
Creates an object of class BaseTrack
创建类BaseTrack的对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates an object of class BaseTrack, which can represent many datasets containing a base given by a vector of positions and a corresponding vector with values for these base positions
创建一个类BaseTrack的对象,它可以代表许多数据集包含给定的位置向量和一个对应的向量碱基,这些碱基的位置值
用法----------Usage----------
makeBaseTrack(base, value, strand, trackOverlay, dp = NULL)
参数----------Arguments----------
参数:base
Numeric vector of base positions
碱基位置的数字矢量
参数:value
Numeric vector with values for these base positions
这些碱基的位置值与数字矢量
参数:strand
Character either + or - representing the strand
字符+或 - 代表股
参数:trackOverlay
Object of class TrackOverlay, used when overlays are needed to be drawn
对象类TrackOverlay,使用时需要绘制覆盖
参数:dp
Object of class DisplayPars representing the display parameters of the plot
DisplayPars代表的图,显示参数的类对象
值----------Value----------
Object of class BaseTrack
对象类BaseTrack的
作者(S)----------Author(s)----------
Jim Bullard and Steffen Durinck
参考文献----------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 (base, value, strand, segmentation, dp = NULL)
{
pt <- getClass("BaseTrack")@prototype
if (is.null(dp))
dp <- pt@dp
if (missing(strand))
strand <- pt@strand
if (missing(segmentation))
segmentation <- pt@segmentation
if (missing(base))
stop("Need base argument to know the base positions to plot the data on the genome")
if (missing(value))
stop("Need value argument")
new("BaseTrack", base = base, value = value, strand = strand,
dp = dp, segmentation = segmentation)
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|