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

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

[复制链接]
发表于 2012-2-25 14:55:37 | 显示全部楼层 |阅读模式
decodeQuality(ChIPsim)
decodeQuality()所属R语言包:ChIPsim

                                         Conversion between numerical and ASCII representation of read qualities
                                         之间的转换和ASCII数值表示只读素质

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

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

These functions convert an ASCII encoded sequence of read qualities into a numeric vector of error  probabilities and vice versa.
这些功能的错误概率,反之亦然数字矢量转换成ASCII编码序列的阅读素质。


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


decodeQuality(quality, type = c("Illumina", "Sanger", "Solexa"))
encodeQuality(quality, type = c("Illumina", "Sanger", "Solexa"))



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

参数:quality
For decodeQuality a character string representing the read qualities for a single sequence read. For encodeQuality a numeric vector of error probabilities.  
decodeQuality一个字符串,表示为一个单一的序列读素质阅读。 encodeQuality的错误概率的数字向量。


参数:type
Type of encoding to use.  
使用的编码类型。


Details

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

See extractQuality for a description of the currently supported encodings.
看到extractQuality目前支持的编码的描述。


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

Either a numeric vector of error probabilities or a character string of encoded read quality scores.  Each entry in the vector corresponds to one character in the input.
无论是一个错误的概率或一个编码字符串的数字向量阅读的质量得分。向量中的每个条目对应一个字符的输入。


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



Peter Humburg




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

extractQuality
extractQuality


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


## decodeQuality and encodeQualty are the inverse operations [的#decodeQuality和encodeQualty逆操作]
## of each other as one might expect[正如人们所预料彼此#]
quality <- "IIIIIIIIIIIIICIIGIIIIGII95III6II-II0"
errorProb <- decodeQuality(quality, type="Sanger")
qualitySanger <- encodeQuality(errorProb, type="Sanger")
all.equal(quality, qualitySanger)

## They can also be used to convert between encodings[#,它们也可以用于编码之间的转换]
qualityIllumina <- encodeQuality(errorProb, type="Illumina")


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 12:05 , Processed in 0.021191 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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