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

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

[复制链接]
发表于 2012-2-25 22:31:54 | 显示全部楼层 |阅读模式
RleViewsList-class(IRanges)
RleViewsList-class()所属R语言包:IRanges

                                        List of RleViews
                                         对RleViews名单

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

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

An extension of ViewsList that holds only RleViews objects. Useful for storing coverage vectors over a set of spaces (e.g. chromosomes), each of which requires a separate RleViews object.
一个的ViewsList只持有RleViews对象的扩展。用于存储的空间(如染色体),其中每个需要一个单独的对象RleViews覆盖向量有用。


Details

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

For more information on methods available for RleViewsList objects consult the man pages for ViewsList-class and Views-utils.
为咨询更多方法RleViewsList对象的信息为ViewsList类和查看-utils的手册页。


构造----------Constructor----------




RleViewsList(..., rleList, rangesList, universe = NULL): Either ... or the rleList/rangesList couplet provide the RleViews for the list. If ... is provided, each of these arguments must be RleViews objects. Alternatively, rleList and rangesList accept Rle and Ranges objects respectively that are meshed together for form the RleViewsList. The universe is specified by the universe parameter, which should be a single string or NULL, to leave unspecified.
RleViewsList(..., rleList, rangesList, universe = NULL):要么...或rleList/rangesList对联提供的名单,RleViews。如果...提供,这些论点都必须是RleViews对象。另外,rleList和rangesList接受RLE和范围对象分别是网状的形式RleViewsList一起。宇宙指定universe参数,这应该是一个单一的字符串或NULL,离开不明。




Views(subject, start=NULL, end=NULL, width=NULL, names=NULL): Same as RleViewsList(rleList = subject, rangesList = start).
Views(subject, start=NULL, end=NULL, width=NULL, names=NULL):同为RleViewsList(rleList = subject, rangesList = start)。


强迫----------Coercion----------

In the code snippets below, from is an RleViewsList object:
在下面的代码片段,from是RleViewsList的对象:

as(from, "IRangesList"): Creates a CompressedIRangesList object containing the view locations in from.
as(from, "IRangesList"):创建一个CompressedIRangesList对象包含在from视图的位置。

as(from, "CompressedIRangesList"): Creates a CompressedIRangesList object containing the view locations in from.
as(from, "CompressedIRangesList"):创建一个CompressedIRangesList对象包含在from视图的位置。

as(from, "SimpleIRangesList"): Creates a SimpleIRangesList object containing the view locations in from.
as(from, "SimpleIRangesList"):创建一个SimpleIRangesList对象包含在from视图的位置。


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


P. Aboyoun



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

ViewsList-class, Views-utils
ViewsList级,点击-utils的


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


  ## Rle objects[#RLE对象]
  subject1 <- Rle(c(3L,2L,18L,0L), c(3,2,1,5))
  set.seed(0)
  subject2 <- Rle(c(0L,5L,2L,0L,3L), c(8,5,2,7,4))

  ## Views[#查看]
  rleViews1 <- Views(subject1, 3:0, 5:8)
  rleViews2 <- Views(subject2, subject2 > 0)

  ## RleList and RangesList objects[#RleList和RangesList对象]
  rleList <- RleList(subject1, subject2)
  rangesList <- IRangesList(IRanges(3:0, 5:8), IRanges(subject2 > 0))

  ## methods for construction[#施工的方法]
  method1 <- RleViewsList(rleViews1, rleViews2)
  method2 <- RleViewsList(rleList = rleList, rangesList = rangesList)
  identical(method1, method2)

  ## calculation over the views[#计算的意见,]
  viewSums(method1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 13:48 , Processed in 0.020636 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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