plotly_quartiles | R Documentation |
Box-plots become unmanagable with large numbers of samples. This function plots lines at the median, quartiles, and whiskers, plotting points for outliers beyond that
plotly_quartiles(
matrix,
labels = rownames(matrix),
expressiontype = "expression",
whisker_distance = 1.5,
should_transform = NULL
)
matrix |
Numeric matrix |
labels |
String vector of labels to be used for each matrix row |
expressiontype |
Y axis label |
whisker_distance |
IQR multiplier for whiskers, and beyond which to
show outliers (see |
should_transform |
A boolean indicating if the log2 transformation should be applied. If TRUE, log2 transformation is applied unconditionally. If FALSE, no transformation is applied. If NULL, a conditional transformation based on threshold is applied. |
data(airway, package = "airway")
plotly_quartiles(assays(airway)[[1]], as(airway, "ExploratorySummarizedExperiment"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.