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

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

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

                                        Simple and Compressed List Classes
                                         简单和压缩列表类

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

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

The (non-virtual) SimpleList and (virtual) CompressedList classes
(非虚拟)simplelist中和(虚拟)CompressedList的类


Details

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

The SimpleList and CompressedList classes provide an implementation that subclasses can easily extend. The underlying storage in a SimpleList subclass is a list object. The underlying storage in a CompressedList object is a virtually partitioned vector-like object. For more information on the available methods, see the List man page.
的simplelist中和CompressedList类提供了一个实现子类可以轻松地扩展。 simplelist中的子类的底层存储是一个列表对象。在CompressedList对象的底层存储是一个几乎分区像矢量对象。可用的方法的更多信息,请参阅名单手册页。


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

The SimpleList class constructor is used to create SimpleList objects:
simplelist中类的构造函数用于创建simplelist中对象:




SimpleList(...): takes possibly named objects as elements for the new SimpleList object.
SimpleList(...):作为为新simplelist中对象的元素可能命名的对象。


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

In the following code snippets, x is a SimpleList or CompressedList object.
在下面的代码片段,x是simplelist中或CompressedList的对象。




as.list(x): Copies the elements of x into a new R list object.
as.list(x):复制x到一个新的R列表对象的元素。




unlist(x, recursive = TRUE, use.names = TRUE): Concatenates the elements of x into a single elementType(x) object.
unlist(x, recursive = TRUE, use.names = TRUE):串连的元素x到一个单一的elementType(x)对象。


子集----------Subsetting----------

In the following code snippets, x is a SimpleList or CompressedList object.
在下面的代码片段,x是simplelist中或CompressedList的对象。

x[i]: In addition to normal usage, the i parameter can be a RangesList, logical RleList, LogicalList, or IntegerList object to perform subsetting within the list elements rather than across them.
x[i]:除了正常使用的,i参数可以是一个RangesList,逻辑RleList,LogicalList或IntegerList对象执行在列表中的元素子集,而不是在它们之间。

x[i] <- value: In addition to normal usage, the i parameter can be a RangesList, logical RleList, LogicalList, or IntegerList object to perform subsetting within the list elements rather than across them.
x[i] <- value:除了正常使用的,i参数可以是一个RangesList,逻辑RleList,LogicalList或IntegerList对象执行在列表中的元素子集,而不是在它们之间。

seqselect(x, start=NULL, end=NULL, width=NULL): In addition to normal usage, the start parameter can be a RangesList, logical RleList, LogicalList, or IntegerList object to perform sequence extraction within the list elements rather than across them.
seqselect(x, start=NULL, end=NULL, width=NULL):除了正常使用的,start参数可以是一个RangesList,逻辑RleList,LogicalList或IntegerList对象执行在跨越他们,而不是列表元素的顺序提取。

seqselect(x, start=NULL, end=NULL, width=NULL) <- value: In addition to normal usage, the start parameter can be a RangesList, logical RleList, LogicalList, or IntegerList object to perform sequence replacement within the list elements rather than across them.
seqselect(x, start=NULL, end=NULL, width=NULL) <- value:除了正常使用的,start参数可以是一个RangesList,逻辑RleList,LogicalList或IntegerList对象执行在跨越他们,而不是列表元素的顺序更换。


循环----------Looping----------

In the following code snippets, x is a SimpleList or CompressedList object.
在下面的代码片段,x是simplelist中或CompressedList的对象。

aggregate(x, by, FUN, start = NULL, end = NULL, width = NULL,       frequency = NULL, delta = NULL, ..., simplify = TRUE)): In addition to normal usage, the by parameter can be a RangesList to aggregate within the list elements rather than across them. When by is a RangesList, the output is either a SimpleAtomicList object, if possible, or a SimpleList object, if not.
aggregate(x, by, FUN, start = NULL, end = NULL, width = NULL,       frequency = NULL, delta = NULL, ..., simplify = TRUE)):by参数除了正常使用,可以在列表中的元素,而不是在它们之间RangesList聚集。当by是RangesList,输出要么是一个SimpleAtomicList对象,如果可能的话,或一个SimpleList对象,如果没有。


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


P. Aboyoun



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

List, AtomicList and
名单,AtomicList和


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


SimpleList(a = letters, ranges = IRanges(1:10, 1:10))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 10:51 , Processed in 0.023823 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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