PlotPlate {QuICSeedR} | R Documentation |
Plot Time Series Data
Description
This function creates a faceted plot of time series data for each well in a plate layout.
Usage
PlotPlate(raw, plate_time, format = 96, f_size = 5, fill = FALSE)
Arguments
raw |
A data frame containing the raw plate data. The first row and first two columns are assumed to be metadata and are removed. |
plate_time |
Output from |
format |
Format of plates used in the experiment. 96 or 384. |
f_size |
font size for subtitles. |
fill |
Logical, whether to fill in missing wells with 0. Default is FALSE. |
Value
A ggplot object representing the plate data.
Examples
# Define the path to the plate data file
plate_path <- system.file("extdata/20240716_p3",
file = '20240716_p3_plate.xlsx',
package = "QuICSeedR")
# Read the plate data
plate <- readxl::read_xlsx(plate_path)
# Define the path to the raw data file
raw_path <- system.file("extdata/20240716_p3",
file = '20240716_p3_raw.xlsx',
package = "QuICSeedR")
# Read the raw data
raw <- readxl::read_xlsx(raw_path)
# Ensure time displayed as decimal hours
plate_time = ConvertTime(raw)
#Plot time series data for each well in a plate layout
PlotPlate(raw = raw, plate_time = plate_time, fill = TRUE)
[Package QuICSeedR version 0.1.2 Index]