display_plate: Display an empty plate plan which can be populated with...

View source: R/plate_functions.R

display_plateR Documentation

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

Description

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

See Also

Other plate creation functions: create_blank_plate(), create_colkey_4diln_2ctrl_in_24(), create_colkey_6_in_24(), create_colkey_6diln_2ctrl_in_24(), create_rowkey_4_in_16(), create_rowkey_8_in_16_plain(), display_plate_qpcr(), display_plate_value(), label_plate_rowcol(), make_row_names_echo1536(), make_row_names_lc1536()

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")


ewallace/tidyqpcr documentation built on June 5, 2024, 10:04 a.m.