View source: R/plots-standard_curve.R
plot_standard_curve_analyte | R Documentation |
Plot standard curve samples of a plate of a given analyte.
plot_standard_curve_analyte(
plate,
analyte_name,
data_type = "Median",
decreasing_rau_order = TRUE,
log_scale = c("all"),
plot_line = TRUE,
plot_blank_mean = TRUE,
plot_rau_bounds = TRUE,
plot_legend = TRUE,
verbose = TRUE
)
plate |
A plate object |
analyte_name |
Name of the analyte of which standard curve we want to plot. |
data_type |
Data type of the value we want to plot - the same datatype as in the plate file. By default equals to |
decreasing_rau_order |
If |
log_scale |
Which elements on the plot should be displayed in log scale. By default |
plot_line |
If |
plot_blank_mean |
If |
plot_rau_bounds |
If |
plot_legend |
If |
verbose |
If |
ggplot object with the plot
path <- system.file("extdata", "CovidOISExPONTENT.csv",
package = "SerolyzeR", mustWork = TRUE
)
layout_path <- system.file("extdata", "CovidOISExPONTENT_layout.xlsx",
package = "SerolyzeR", mustWork = TRUE
)
plate <- read_luminex_data(path, layout_filepath = layout_path, verbose = FALSE)
plot_standard_curve_analyte(plate, "Spike_6P", plot_legend = FALSE, data_type = "Median")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.