makePlot.readLengthDist {QoRTs} | R Documentation |
Plots the distribution of read lengths. Only useful for data with variable trimming (which is generally not recommended at least for RNA-Seq data).
makePlot.readLengthDist(plotter, plot.rates = TRUE, plot.means = TRUE, plot.medians = NULL, include.full.length = FALSE, cumulative = TRUE, singleEndMode, rasterize.plotting.area = FALSE, raster.height = 1000, raster.width = 1000, debugMode, r2.buffer, plot = TRUE, ...)
plotter |
A |
plot.rates |
A logical value indicating whether or not the X-axis should be the raw number of nucleotides that are G/C, vs the rate G/C. |
plot.means |
A logical value indicating whether or not to plot the mean average GC content for each bam file at the bottom of the plot. |
plot.medians |
A logical value indicating whether or not to plot the median
average GC content for each bam file at the bottom
of the plot. Overrides |
include.full.length |
Logical. If FALSE, omit the full-length read length from the x-axis of the plot. |
cumulative |
Logical. If TRUE, plot shows cumulative rates. |
singleEndMode |
Logical. Determines whether the dataset consists of single-ended reads. By default this is determined from the data. Thus, this parameter should never need to be set by the user. |
debugMode |
Logical. If TRUE, debugging data will be printed to the console. |
rasterize.plotting.area |
Logical. If |
raster.height |
Numeric integer. If |
raster.width |
Numeric integer. If |
r2.buffer |
Buffer space to place between the plotting of read 1 and read 2. By default this will choose a reasonable value. |
plot |
Logical. If FALSE, suppress plotting and return |
... |
Arguments to be passed to methods, such as
graphical parameters (see |
x-axis: Read Length
y-axis: Percentage of reads with length equal to the given length. If cumulative == TRUE, then it is the percentage of reads with length less than or equal to the given length.
data(res,package="QoRTsExampleData");
plotter <- build.plotter.colorByGroup(res);
makePlot.readLengthDist(plotter)
## Starting: Read Length Distribution plot.
## Finished: Read Length Distribution plot.[time: 2018-09-25 13:13:12],[elapsed: 0.12 secs]