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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|