Plot 5'->3' Bias

plot53Bias(object, ...)

# S4 method for bcbioRNASeq
plot53Bias(object, interestingGroups, warnLimit = 2,
  fill = scale_fill_viridis(discrete = TRUE), flip = TRUE)

# S4 method for data.frame
plot53Bias(object, interestingGroups = "sampleName",
  warnLimit = 2, fill = scale_fill_viridis(discrete = TRUE), flip = TRUE)

Arguments

object

Object.

...

Additional arguments (for the S4 generic definition).

interestingGroups

Category to use to group samples. In the plotting functions, this will define color and shape, where applicable. If unset, this is automatically determined by the metadata set inside the bcbioRNASeq object. When set to NULL, this will default to sampleName.

warnLimit

Threshold to plot warning color marker.

fill

Desired ggplot fill scale. Defaults to viridis::scale_fill_viridis(). Must supply discrete values. When set to NULL, the default ggplot2 color palette will be used. If manual color definitions are desired, we recommend using ggplot2::scale_fill_manual().

flip

Flip x and y axes.

Value

ggplot.

See also

Other Quality Control Plots: plotCountDensity, plotCountsPerGene, plotExonicMappingRate, plotGenderMarkers, plotGeneSaturation, plotGenesDetected, plotGene, plotIntronicMappingRate, plotMappedReads, plotMappingRate, plotRRNAMappingRate, plotTotalReads

Examples

plot53Bias(bcb)
# NOT RUN { plot53Bias( bcb, interestingGroups = "group", fill = NULL) # }
# data.frame
# NOT RUN { metrics(bcb) %>% plot53Bias() # }