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

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

[复制链接]
发表于 2012-2-25 22:02:33 | 显示全部楼层 |阅读模式
extendRanges(htSeqTools)
extendRanges()所属R语言包:htSeqTools

                                         Extend reads or sequences by a user-specified number of bases.
                                         扩展读取或碱基由用户指定的号码序列。

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

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

This function allows to extend ranges up to a user-specified length, which can be helpful in ChIP-seq analysis.
此功能允许范围扩大到用户指定的长度,这可能有助于芯片SEQ分析。


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


extendRanges(x, seqLen = 200, chrlength, mc.cores=1)



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

参数:x
Object containing reads.  
对象,其中包含读取。


参数:seqLen
Desired sequence length after extension.  
所需序列的长度,后扩展。


参数:chrlength
Integer vector indicating the length of each chromosome. names(chrlength) must match those in x. This argument is used to ensure that no reads are extended beyond the maximum chromosome length.
整数向量表示每个染色体的长度。 names(chrlength)必须符合那些在x。使用此参数,以确保没有读取超出最大的染色体长度延长。


参数:mc.cores
Number of cores to use in parallel computations (passed on to mclapply).
在并行计算中使用的核心数量(通过mclapply上)。


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

A list of IRanges objects with extended sequence length.
一个IRanges对象扩展序列的长度。


方法----------Methods----------




signature(x = "RangedData")  space(x) indicates the chromosome, start(x) and end(x) the start/end positions of
signature(x = "RangedData")space(x)表示染色体,start(x)和end(x)开始/结束位置




signature(x = "RangedDataList") Each element in x
signature(x = "RangedDataList")x每个元素


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


David Rossell



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


set.seed(1)
st <- round(rnorm(1000,500,100))
st[st>2000] <- 2000
strand <- rep(c('+','-'),each=500)
space <- rep('chr1',length(st))
sample1 <- RangedData(IRanges(st,st+38),strand=strand,space=space)
extendRanges(sample1, seqLen=200, chrlength=c(chr1=2000))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-5 22:41 , Processed in 0.045900 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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