Description Usage Arguments Value Examples
View source: R/visualizePlateData.R
Given plate data, plot a heatmap of the specified feature using a function to aggregate data within wells and an optional function to transform the resulting vector of length 384.
1 2 3 | plateHeatmap(plate.dat, feature, fun.aggregate = "mean",
fun.transform = "identity", show.control = TRUE, colors = brewer.pal(9,
"Reds")[3:9])
|
plate.dat |
Data used to generate heatmap. Expecting a PlateData object. |
feature |
Name of the feature to extract and aggreagte within wells for heatmap plot. Expecting a string. |
fun.aggregate |
The function used to aggregate data within wells. Expecting either a function object or a string. |
fun.transform |
An optional function used to transform the data before plotting. Expecting either a function object or a string. |
show.control |
Logical, whether to mark the control wells. |
colors |
A vector of colors that is interpolated for the gradient scale. |
A ggplot2 plot object ready for printing.
1 2 3 | plate <- PlateLocation("J101-2C")
data <- PlateData(plate)
plateHeatmap(data, "VoronoiCells.Location_Center_Y", median, sqrt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.