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

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

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

                                        List of IRanges and NormalIRanges
                                         IRanges和NormalIRanges名单

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

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

IRangesList and NormalIRangesList objects for storing IRanges and NormalIRanges objects
IRangesList和NormalIRangesList对象存储IRanges和NormalIRanges对象


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




IRangesList(..., universe = NULL, compress = TRUE): The ... argument accepts either a comma-separated list of IRanges objects, or a single LogicalList / logical RleList object, or 2 elements named start and end each of them being either a list of integer vectors or an IntegerList object. When IRanges objects are supplied, each of them becomes an element in the new IRangesList, in the same order, which is analogous to the list constructor. If compress, the internal storage of the data is compressed.
IRangesList(..., universe = NULL, compress = TRUE):...参数可以接受的IRanges对象的逗号分隔的列表,或单一LogicalList/逻辑RleList对象,或2元素命名为 start和end他们每个人一个整数向量或IntegerList的对象的列表。当IRanges对象提供的,他们每个元素成为新的IRangesList,以相同的顺序,这是类似于list构造。如果compress,内部存储的数据进行压缩。


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




unlist(x): Unlists x, an IRangesList, by concatenating all of the ranges into a single IRanges instance. If the length of x is zero, an empty IRanges is returned.
unlist(x):Unlistsx,IRangesList,串连成一个单一的IRanges实例的所有范围。如果x的长度是零,一个空IRanges返回。


NormalIRangesList对象的方法----------Methods for NormalIRangesList objects----------

max(x): An integer vector containing the maximum values of each of the elements of x.
max(x):整数向量每个x元素的最大价值。

min(x): An integer vector containing the minimum values of each of the elements of x.
min(x):整数向量每个x元素的最低值。


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


Michael Lawrence



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

RangesList, the parent of this class, for more functionality.
RangesList,更多的功能,这个类的父。


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


  range1 <- IRanges(start=c(1,2,3), end=c(5,2,8))
  range2 <- IRanges(start=c(15,45,20,1), end=c(15,100,80,5))
  named <- IRangesList(one = range1, two = range2)
  length(named) # 2[2]
  names(named) # "one" and "two"[“一”和“两节”]
  named[[1]] # range1[范围1]
  unnamed <- IRangesList(range1, range2)
  names(unnamed) # NULL[为NULL]

  x <- IRangesList(start=list(c(1,2,3), c(15,45,20,1)),
                   end=list(c(5,2,8), c(15,100,80,5)))
  as.list(x)

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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