plot_layout | R Documentation |
This function plots the layout of a 96-well plate using a colour to represent the sample types.
If the plot window is resized, it's best to re-run the function to adjust the scaling.
Sometimes, the whole layout may be shifted when a legend is plotted. It's best to stretch the window, and everything will be adjusted automatically.
plot_layout(plate, plot_legend = TRUE)
plate |
The plate object with the layout information |
plot_legend |
Logical indicating if the legend should be plotted |
A ggplot object
plate_filepath <- system.file("extdata", "CovidOISExPONTENT_CO.csv",
package = "SerolyzeR", mustWork = TRUE
)
layout_filepath <- system.file("extdata", "CovidOISExPONTENT_CO_layout.xlsx",
package = "SerolyzeR", mustWork = TRUE
)
plate <- read_luminex_data(plate_filepath, layout_filepath)
plot_layout(plate = plate, plot_legend = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.