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

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

[复制链接]
发表于 2012-2-26 12:49:37 | 显示全部楼层 |阅读模式
featureBlocks(Repitools)
featureBlocks()所属R语言包:Repitools

                                        Make windows for distances around a reference point.
                                         围绕一个参考点的距离为使窗口。

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

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

Windows are made around a reference point, which is the start coordinate for features on the + strand, and the end coordinate for features on the - strand. For unstranded features, the reference point is taken to be the mid-point of the feature.
Windows是围绕一个参考点,这是的起始坐标,+链的特点和功能上月底坐标 - 链。 unstranded功能,参考点是中点的功能。


用法----------Usage----------


  ## S4 method for signature 'data.frame'
featureBlocks(anno, ...)
  ## S4 method for signature 'GRanges'
featureBlocks(anno, up = NULL, down = NULL, dist = c("base", "percent"),
                                    keep.strand = FALSE)



参数----------Arguments----------

参数:anno
A data.frame or GRanges, describing some genomic features.
一个data.frame或GRanges,说明一些基因的功能。


参数:up
The amount to go upstream or towards the start of a chromosome. Semantics depend on the value of dist. See details.
该金额或染色体开始对上游去。语义取决于上dist值。查看详情。


参数:down
The amount to go downstream or towards the end of a chromosome. Semantics depend on the value of dist. See details.
金额或对染色体年底下游去。语义取决于上dist值。查看详情。


参数:dist
Whether up and down refer to bases, or a percentage of each feature's width.
是否up和down是指碱基,或每个功能的宽度的百分比。


参数:keep.strand
Whether the blocks should keep the strands of their features, or if all blocks should have strand be '*'
块是否应保持其功能的股,或者如果所有块应该有股'*'


参数:...
Arguments from the list above that are not used directly within the data.frame method.
从上面的列表中的参数是不能直接使用在data.frame方法。


Details

详情----------Details----------

up refers to how many bases to go upstream for stranded features, or for unstranded features, how many bases to go towards the start of the chromosome, from the mid-point of the feature. Having a negative value for up means that the windows will start downstream by that amount, for stranded features. For unstranded features, it will start that many bases closer to the end of the chromosome, relative to the feature mid-point.
up是指多少碱基去上游滞留的功能,或unstranded功能,多少碱基对染色体开始从功能的中点,。有一个up负值意味着该窗口将启动下游的数额滞留的功能。为unstranded功能,它会启动许多碱基接近的染色体,相对功能中点年底。

down is defined analogously.
down定义类推。


值----------Value----------

A GRanges of windows surrounding reference points for the features described by anno.
一个GRanges窗口周围的参考点为anno中描述的功能。


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


Dario Strbenac



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


  genes <- data.frame(chr = c("chr1", "chr3", "chr7", "chr22"),
                   start = seq(1000, 4000, 1000),
                   end = seq(1500, 4500, 1000),
                   strand = c('+', '-', '-', '+'))

  featureBlocks(genes, 500, 500)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-28 03:22 , Processed in 0.036929 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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