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

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

[复制链接]
发表于 2012-2-25 19:15:25 | 显示全部楼层 |阅读模式
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 !! ----[#----应直接执行!! ----]
##-- ==&gt;  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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 18:05 , Processed in 0.022491 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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