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

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

[复制链接]
发表于 2012-2-26 14:09:35 | 显示全部楼层 |阅读模式
srduplicated(ShortRead)
srduplicated()所属R语言包:ShortRead

                                        Order, sort, and find duplicates in XStringSet objects
                                         XStringSet对象的顺序,排序和查找重复

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

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

These generics order, rank, sort, and find duplicates in short read objects, including fastq-encoded qualities. srorder, srrank and srsort differ from the default functions rank, order and sort in that sorting is based on an internally-defined order rather than, e.g., the order implied by LC_COLLATE.
这些泛型秩序,排名,排序,并找到重复在短期只读对象,包括fastq编码素质。 srorder,srrank和srsort不同于默认功能rank,order和sort在该排序是基于内部定义的顺序而非,例如,为了暗示LC_COLLATE。


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


srorder(x, ...)
srrank(x, ...)
srsort(x, ...)
srduplicated(x, ...)



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

参数:x
The object to be sorted, ranked, ordered, or to have duplicates identified; see the examples below for objects for which methods are defined.
对象进行排序,排名,排序,或重复鉴定;看到下面的例子中,哪些方法定义的对象。


参数:...
Additional arguments available for use by methods; usually ignored.
额外的参数可以通过使用方法,通常被忽略。


Details

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

Unlike sort and friends, the implementation does not preserve order of duplicated elements. Like duplicated, one element in each set of duplicates is marked as FALSE.
不像sort和朋友,实现不保存重复元素的顺序。像duplicated,每套重复元素FALSE的标记。

srrank settles ties using the “min” criterion described in rank, i.e., identical elements are ranked equal to the rank of the first occurrence of the sorted element.
srrank稳定的关系,用“分”的标准rank,即描述,相同元素的排名等于排序元素第一次出现的排名。

The following methods are defined, in addition to methods described in class-specific documentation:
下面的方法定义,除了类特定的文件中所描述的方法:




srsort signature(x = "XStringSet"):
srsortsignature(x = "XStringSet"):




srorder signature(x = "XStringSet"):
srordersignature(x = "XStringSet"):




srduplicated signature(x = "XStringSet"):
srduplicatedsignature(x = "XStringSet"):

Apply srorder, srrank, srsort, srduplicated to XStringSet objects such
应用srorder,srrank,srsort,srduplicatedXStringSet对象




srsort signature(x = "ShortRead"):
srsortsignature(x = "ShortRead"):




srorder signature(x = "ShortRead"):
srordersignature(x = "ShortRead"):




srduplicated signature(x = "ShortRead"):
srduplicatedsignature(x = "ShortRead"):

Apply srorder, srrank, srsort, srduplicated to XStringSet objects to the sread component of ShortRead and
申请srorder,srrank,srsort,srduplicatedXStringSet对象sreadShortRead组件


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

The functions return the following values:
该函数返回以下值:


参数:srorder
An integer vector the same length as x, containing the indices that will bring x into sorted order.
整数向量x的长度相同,包含的指标,将带来x到排序顺序。


参数:srrank
An integer vector the same length as x, containing the rank of each seqeunce when sorted.
整数向量为x的长度相同,含有每个seqeunce的排名时,排序。


参数:srsort
An instance of x in sorted order.
一个实例x排列顺序。


参数:srduplicated
A logical vector the same length as x indicating whether the indexed element is already present. Note that, like duplicated, subsetting x using the result returned by !srduplicated(x) includes one representative from each set of duplicates.
逻辑向量x索引元素是否已经存在相同的长度。请注意,像duplicated,x包括一个代表从每个组重复子集!srduplicated(x)使用结果返回。


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


Martin Morgan <mtmorgan@fhcrc.org>



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


showMethods("srsort")
showMethods("srorder")
showMethods("srduplicated")

sp <- SolexaPath(system.file('extdata', package='ShortRead'))
rfq <- readFastq(analysisPath(sp), pattern="s_1_sequence.txt")

sum(srduplicated(sread(rfq)))
srsort(sread(rfq))
srsort(quality(rfq))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-24 08:22 , Processed in 0.033783 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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