View source: R/plate_functions.R
display_plate | R Documentation |
Display an empty plate plan which can be populated with ggplot2 geom elements.
display_plate(plate)
plate |
tibble with variables well_col, well_row. |
ggplot object; major output is to plot it
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()
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.