olink_displayPlateDistributions {OlinkAnalyze} | R Documentation |
Plot distributions of a given variable for all plates
Description
Displays a bar chart for each plate representing the distribution of the given grouping variable on each plate using ggplot2::ggplot and ggplot2::geom_bar.
Usage
olink_displayPlateDistributions(data, fill.color)
Arguments
data |
tibble/data frame in long format returned from the olink_plate_randomizer function. |
fill.color |
Column name to be used as coloring variable for wells. |
Value
An object of class "ggplot" showing the percent distribution of fill.color in each plate (x-axis)
See Also
olink_plate_randomizer()
for generating a plating schemeolink_displayPlateLayout()
for visualizing the generated plate layouts
Examples
randomized.manifest <- olink_plate_randomizer(manifest)
olink_displayPlateDistributions(data=randomized.manifest,fill.color="Site")
[Package OlinkAnalyze version 3.8.2 Index]