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

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

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

                                        Compute median quality for each nucleotide position
                                         计算每个核苷酸位置的平均质量

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

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

This function computes the median quality for each position in a read over all reads in a ShortReadQ object.
此函数计算中位数的质量,为每个在读的所有读取在ShortReadQ对象的位置。


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


medianByPosition(x, method = "Sanger", batchSize = 100000L)



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

参数:x
object of class ShortReadQ, such as the result of function readFastq
对象的类ShortReadQ功能readFastq结果,如


参数:method
string; passed on to function intPhred
字符串;通过对函数intPhred


参数:batchSize
number of rows to process in each iteration; directly influences RAM usage of this function
在每次迭代处理的行数;直接影响内存使用此功能


Details

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

The quality values are computed for each batch of reads and stored as numeric Rle objects for each postion. In each iteration, the Rle object of the current batch is merged with the previous one in order to keep the RAM usage low.
每批读取的质量值计算和存储数字Rle现在的位置是每个对象。在每次迭代中,Rle当前批次的对象是与前一个合并,以保持低RAM使用。


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

A numeric vector of the median values per nucleotide position in the reads. The length of this vector corresponds to the length of the longest read in the data.
每个核苷酸的位置在读的中值的一个数字向量。这个向量的长度相当于最长的读取数据的长度。


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


Joern Toedling



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

intPhred
intPhred


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


   exDir <- system.file("extdata", package="girafe")
   ra  <- readFastq(dirPath=exDir, pattern=
                   "aravinSRNA_23_plus_adapter_excerpt.fastq")
   medianByPosition(ra, batchSize=200)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-7 01:46 , Processed in 0.027052 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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