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

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

[复制链接]
发表于 2012-2-25 19:20:31 | 显示全部楼层 |阅读模式
GenomeIntervals(genomeIntervals)
GenomeIntervals()所属R语言包:genomeIntervals

                                        Constructor function for genomeIntervals objects
                                         genomeIntervals对象的构造函数

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

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

A user-friendly constructor function for creating both Genome_intervals and Genome_intervals_stranded objects.
一个用户友好的构造函数创建两个Genome_intervals和Genome_intervals_stranded对象。


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


GenomeIntervals(chromosome, start, end, strand = NULL,
                inter.base = NULL, leftOpen = NULL,
                rightOpen = NULL, ...)



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

参数:chromosome
character vector of chromosome names of the intervals; will become the seq_names of the resulting object
字符间隔染色体名向量;将成为seq_names生成的对象


参数:start
numeric or integer; start (left-most) coordinate of the intervals
数字或整数;启动(最左边)坐标的间隔


参数:end
numeric or integer; end (right-most) coordinate of the intervals
数字或整数;结束(最右边的)协调的时间间隔


参数:strand
chacter; specifies which strand the intervals are located on; if specified an object of class Genome_intervals_stranded is created; if NULL an object of class Genome_intervals is created
指定链的间隔;如果指定了一个对象的类Genome_intervals_stranded如果NULLGenome_intervals类的对象创建角色后来;


参数:inter.base
logical; if TRUE an interval is located between the specified coordinates, instead of spanning them; useful for restriction-enzym cutting sites, for example.
逻辑;如果TRUE位于指定的坐标,而不是跨越他们之间的间隔为的限制enzym切割网站有用的例子。


参数:leftOpen
logical; if TRUE an interval is left-open; if NULL all intervals are assumed to be left-closed.
逻辑;如果TRUE区间是左开,如果NULL所有的时间间隔被认为是左闭。


参数:rightOpen
logical; if TRUE an interval is right-open; if NULL all intervals are assumed to be right-closed.
逻辑;如果TRUE的时间间隔是正确的开放;如果NULL所有的时间间隔被假设是正确的封闭。


参数:...
any additional annotation for supplied intervals
任何额外的注释提供的时间间隔


Details

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

The arguments chromosome, start, and end need to be of the same length, with the first element of each vector corresponding to the first interval, the second element to the second interval, and so on.
的论点chromosome,start,end需要有相同的长度,每个向量对应的第一个时间间隔,第二区间的第二个元素的第一个元素,并依此类推。

The same applies to strand, inter.base, leftOpen, rightOpen and any additional vectors in '...', if they are specified.
相同strand,inter.base,leftOpen,rightOpen“在...的任何额外的向量,如果他们被指定。


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

An object of class Genome_intervals or Genome_intervals_stranded depending on whether strand has been specified.
一个类的对象Genome_intervals或Genome_intervals_stranded取决于是否strand已被指定。


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


J. Toedling



参见----------See Also----------

Genome_intervals-class, Genome_intervals_stranded-class
Genome_intervals-class,Genome_intervals_stranded-class


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


  ## constructing a Genome_intervals object[#建设Genome_intervals对象,]
  G <- GenomeIntervals(start=c(1,3,4,5,8,10), end=c(5,5,6,8,9,11),
                       chromosome=rep(c("chr2","chrX","chr1"), each=2),
                       leftOpen=rep(c(FALSE, FALSE, TRUE), 2))
  show(G)

  ## constructing a Genome_intervals_stranded object with[#建设与Genome_intervals_stranded的对象,]
  ##  additional interval annotation[#额外的时间间隔注释]
  GS <- GenomeIntervals(start=c(1,3,4,5,8,10), end=c(5,5,6,8,9,11),
                        chromosome=rep(c("chr2","chrX","chr1"), each=2),
                        strand=c("-","-","+","+","+","+"),
                        GC.content=round(runif(6), digits=2))
  show(GS)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 12:07 , Processed in 0.023740 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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