coverageDiff(htSeqTools)
coverageDiff()所属R语言包:htSeqTools
Compute the difference in coverage between two objects
计算两个对象之间的区别在覆盖
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes coverage of sample1 minus coverage of sample2, taking into account that the chromosomes in sample1 and sample2 are not necessarily the same.
计算的SAMPLE1减去的sample2覆盖的覆盖面,同时考虑到,在SAMPLE1的sample2染色体不一定相同。
用法----------Usage----------
coverageDiff(sample1, sample2, chrLength)
参数----------Arguments----------
参数:sample1
Object with reads from sample 1. Typically, a RangedData object.
从样品1对象与内容。通常,一个RangedData对象。
参数:sample2
Object with reads from sample 2. Typically, a RangedData object.
对象与读取样品2。通常,一个RangedData对象。
参数:chrLength
Named vector with chromosome lengths. This can be obtained from the Bioconductor annotation packages, e.g. BSgenome.Dmelanogaster.UCSC.dm3 for drosophila melanogaster, etc.
命名为染色体长度的向量。这可从的的Bioconductor注解包,如BSgenome.Dmelanogaster.UCSC.dm3果蝇等。
Details
详情----------Details----------
Computation is restricted to chromosomes in names(chrLength).
计算仅限于染色体中names(chrLength)。
值----------Value----------
SimpleRleList with differences in coverage.
SimpleRleList覆盖面的差异。
举例----------Examples----------
sample1 <- RangedData(IRanges(1:10,11:20),space='chr1')
sample2 <- RangedData(IRanges(1:10,11:20),space=rep(c('chr1','chr2'),each=5))
chrLength <- c(50,25); names(chrLength) <- c('chr1','chr2')
coverageDiff(sample1,sample2,chrLength)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|