PlotConversionFreq {grandR} | R Documentation |
Diagnostic plot for conversion frequencies
Description
This is the second diagnostic plot (estimated conversions) generated by GRAND3.
Usage
PlotConversionFreq(data, category, sample = NULL, max.columns = 120)
Arguments
data |
the grandR object |
category |
show a specific category (see GetDiagnosticParameters); cannot be NULL |
sample |
compare subreads for a specific sample; can be NULL, then compare all samples per subread |
max.columns |
if there are more columns (samples for bulk, cells for single cell) than this, show boxplots instead of points |
Details
Show the percentage of all conversion types for all samples. In contrast to mismatches (see PlotMismatchPositionForSample and PlotMismatchPositionForType), the correct strand is already inferred for conversions, i.e. conversions refer to actual conversion events on RNA, whereas mismatches are observed events in mapped reads.
Value
a list with a ggplot object, a description, and the desired size for the plot