makePlot.dropped.rates {QoRTs}R Documentation

Read Drop Plot

Description

Plots the rates at which reads are dropped from analysis for various causes.

Usage

makePlot.dropped.rates(plotter, dropAlwaysZeroRows = FALSE, 
                       debugMode, singleEndMode,
                       plot = TRUE,
                       ...)

Arguments

plotter

A QoRT_Plotter reference object. See build.plotter.

dropAlwaysZeroRows

Logical. If TRUE, drop-reasons that never occur in the dataset will not be plotted. This often cleans up the plot somewhat, since in many production pipelines reads that fail many of the filtering steps may have already been filtered out.

debugMode

Logical. If TRUE, debugging data will be printed to the console.

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.

plot

Logical. If FALSE, suppress plotting and return TRUE if and only if the data is present in the dataset to allow plotting. Useful to automatically filter out missing data plots.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Details

For each bam file, this function plots the rates and reasons for reads being dropped from QC analysis.

Note that in the example dataset reads were never dropped. This is a consequence of the pre-processing steps in the example pipeline.

See Also

build.plotter

Examples

  data(res,package="QoRTsExampleData");
  plotter <- build.plotter.colorByGroup(res);
  makePlot.dropped.rates(plotter)
## Starting: Dropped Rates plot.
## Finished: Dropped Rates plot.[time: 2018-09-25 13:12:24],[elapsed: 0.1 secs]

plot of chunk unnamed-chunk-1


[Package QoRTs version 1.3.6 Index]