plate_view: Real-Time Plate View

View source: R/plate_view.R

plate_viewR Documentation

Real-Time Plate View

Description

Converts the real-time data into a ggplot figure. The layout is either 8x12 or 16x24 for 96- and 384-well plates, respectively.

Usage

plate_view(df, meta, plate = 96)

Arguments

df

Real-time dataframe

meta

Dataframe containing well IDs and Sample IDs to title each facet.

plate

Integer either 96 or 384 to denote microplate type.

Value

A ggplot object

Examples

# This test takes >5 sec

file <- system.file(
  "extdata/input_files",
  file = "test2.xlsx",
  package = "quicR"
)

# Get the real-time data.
df_ <- get_real(file, ordered = FALSE)[[1]] |>
  as.data.frame()

sample_locations <- get_sample_locations(
  file,
  dilution_bool = TRUE,
  dilution_fun = function(x) -log10(x)
)

plate_view(df_, sample_locations)



quicR documentation built on April 3, 2025, 11:20 p.m.