olink_displayPlateDistributions: Plot distributions of a given variable for all plates

View source: R/Olink_plate_randomizer.R

olink_displayPlateDistributionsR Documentation

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 scheme

  • olink_displayPlateLayout() for visualizing the generated plate layouts

Examples

randomized.manifest <- olink_plate_randomizer(manifest)
olink_displayPlateDistributions(data=randomized.manifest,fill.color="Site")

OlinkAnalyze documentation built on June 27, 2024, 5:07 p.m.