powered by
Draws box plot of data from indicated TapestriExperiment assay slot. This is especially useful for visualizing altExp count data, such as counts from probes on chrY or barcode probe counts.
TapestriExperiment
assay
altExp
assayBoxPlot( TapestriExperiment, alt.exp = NULL, assay = NULL, log.y = TRUE, split.features = FALSE, split.x.by = NULL, split.y.by = NULL )
ggplot object, box plot
TapestriExperiment object
Character, altExp to plot. NULL (default) uses the top-level experiment in TapestriExperiment.
NULL
Character, assay to plot. NULL (default) selects first assay listed TapestriExperiment.
Logical, if TRUE, scales data using log1p(). Default TRUE.
TRUE
log1p()
TRUE.
Logical, if TRUE, splits plot by rowData features if slot has more than one row feature/probe. Default FALSE.
rowData
FALSE.
Character, colData column to use for X-axis categories. Default NULL.
colData
Character, colData column to use for Y-axis splitting/faceting. Default NULL.
ggplot2::geom_boxplot()
tap.object <- newTapestriExperimentExample() # example TapestriExperiment object assayBoxPlot(tap.object, alt.exp = "chrYCounts", split.features = TRUE, split.x.by = "test.cluster")
Run the code above in your browser using DataLab