Learn R Programming

OlinkAnalyze (version 4.2.0)

olink_displayPlateDistributions: 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)

Value

An object of class "ggplot" showing the percent distribution of fill.color in each plate (x-axis)

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.

See Also

  • olink_plate_randomizer() for generating a plating scheme

  • olink_displayPlateLayout() for visualizing the generated plate layouts

Examples

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

Run the code above in your browser using DataLab