Histogram of selected summary statistic
plotAlevinHistogram(
cbTable,
plotVar = "dedupRate",
axisLabel = plotVar,
colName = "inFinalWhiteList",
cbName = "final whitelist",
firstSelColName = "inFirstWhiteList"
)
data.frame
(such as the cbTable
returned by
readAlevinQC
or readAlevinFryQC
) containing the desired
summary statistic in a column.
Character scalar giving the name of a numeric column of
cbTable
to plot.
Character scalar giving the label of the selected statistic (will be displayed as the axis label in the plot).
Character scalar giving the name of a logical column of
cbTable
to use for filling the bars in the histogram.
Character scalar giving the name of the set of barcodes
defined by colName
, used for labelling the plot legend.
Character scalar indicating the name of the logical
column in cbTable
that corresponds to the original selection of
barcodes for quantification.
A ggplot object
alevin <- readAlevinQC(system.file("extdata/alevin_example_v0.14",
package = "alevinQC"))
plotAlevinHistogram(alevin$cbTable, plotVar = "dedupRate",
axisLabel = "Deduplication rate",
colName = "inFinalWhiteList",
cbName = "final whitelist")