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

R语言 TEQC包 coverage.targetlength.plot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 15:29:12 | 显示全部楼层 |阅读模式
coverage.targetlength.plot(TEQC)
coverage.targetlength.plot()所属R语言包:TEQC

                                        Number of reads or average coverage versus target length scatter plot
                                         读取数或平均覆盖率与目标长度散点图

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

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

Plots either numbers of on-target reads or average per-target coverage (or potentially other per-target values) against respective target lengths.
对目标图要么数字读取或平均每目标的覆盖范围,对各自的目标长度(或潜在的其他每目标值)。


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


coverage.targetlength.plot(targets, plotcolumn, linecol = 2, xlab, ylab, lwd, pch, cex, ...)



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

参数:targets
RangedData table containing positions of target regions and further 'values' columns that should be plotted, i.e. output from coverage.target or readsPerTarget
RangedData表,其中包含目标的区域和进一步的“值”列,应绘制的位置,即从coverage.target或readsPerTarget输出


参数:plotcolumn
name or index of column to plot (of the 'values' DataFrame within targets)
绘图列的名称或索引(值内targetsDataFrame)


参数:linecol
color of spline curve
色样条曲线


参数:xlab, ylab
x- and y-axis labels
x和y轴的标签


参数:lwd
line width of spline curve
样条曲线的线宽


参数:pch
plotting character
绘制字符


参数:cex
size of plotting character
绘制字符的大小


参数:...
further graphical parameters, passed to plot
进一步的图形参数,传递plot的


Details

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

coverage.target and readsPerTarget can be used to calculate average per-target coverages and numbers of reads overlapping each target. The values are added to the RangedData table containing the target positions. Such RangedData
coverage.target和readsPerTarget可以用来计算平均每目标覆盖和读取的数字,每个目标重叠。该值被添加到RangedData表中包含的目标位置。如RangedData


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

A scatterplot with the given per-target values on the y-axis and corresponding target lengths on the x-axis.
与x轴y轴和相应的目标长度每靶值的散点图。


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


Manuela Hummel <a href="mailto:manuela.hummel@crg.es">manuela.hummel@crg.es</a>



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

coverage.target, readsPerTarget, covered.k, coverage.hist,
coverage.target,readsPerTarget,covered.k,coverage.hist


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


## get reads and targets[#得到读取和目标]
exptPath <- system.file("extdata", package="TEQC")
readsfile <- file.path(exptPath, "ExampleSet_Reads.bed")
reads <- get.reads(readsfile, idcol=4, skip=0)
targetsfile <- file.path(exptPath, "ExampleSet_Targets.bed")
targets <- get.targets(targetsfile, skip=0)

## get average per-target coverage[#平均每目标覆盖]
Coverage <- coverage.target(reads, targets, perTarget=TRUE)
targets2 <- Coverage$targetCoverages

## get numbers of reads per target[#得到的数字,读取每个目标]
targets2 <- readsPerTarget(reads, targets2)

## coverage vs target length[#覆盖率与目标长度]
coverage.targetlength.plot(targets2, plotcolumn="avgCoverage", pch="o")

## coverage vs number of reads per target[#覆盖率比数读取每个目标]
coverage.targetlength.plot(targets2, plotcolumn="nReads", pch="o")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 06:03 , Processed in 0.029497 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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