Skip to contents

Display an empty plate plan which can be populated with ggplot2 geom elements.

Usage

display_plate(plate)

Arguments

plate

tibble with variables well_col, well_row.

Value

ggplot object; major output is to plot it

Examples

library(ggplot2)

# display empty plot of empty plate
display_plate(create_blank_plate_96well())


# display wells of empty plate filled by column
display_plate(create_blank_plate_96well()) + 
  geom_tile(aes(fill = well_col), colour = "black")


# display wells of empty 1536-well plate filled by row
display_plate(create_blank_plate_1536well()) + 
  geom_tile(aes(fill = well_row), colour = "black")