rate_plot | R Documentation |
Generate OCR and ECAR plots
rate_plot(
seahorse_rates,
measure = "OCR",
assay = "MITO",
model = "ols",
error_bar = "ci",
conf_int = 0.95,
group_label = "Experimental group",
linewidth = 2,
sep_reps = FALSE,
ci_method = "Wald"
)
seahorse_rates |
data.table Seahorse OCR and ECAR rates (imported using |
measure |
Whether to plot |
assay |
What assay to plot (e.g. "MITO" or "GLYCO") |
model |
The model used to estimate mean and confidence intervals: |
error_bar |
Whether to plot error bars as standard deviation ( |
conf_int |
The confidence interval percentage. Should be between 0 and 1 |
group_label |
Label for the experimental group to populate the legend title |
linewidth |
Width for the lines, passed to |
sep_reps |
Whether to calculate summary statistics on the groups with
replicates combined. The current default |
ci_method |
The method used to compute confidence intervals for the
mixed-effects model: |
a ggplot
rep_list <- system.file("extdata", package = "ceas") |>
list.files(pattern = "*.xlsx", full.names = TRUE)
seahorse_rates <- read_data(rep_list, sheet = 2)
rate_plot(
seahorse_rates,
measure = "OCR",
error_bar = "ci",
conf_int = 0.95,
sep_reps = FALSE
)
rate_plot(
seahorse_rates,
measure = "OCR",
error_bar = "ci",
conf_int = 0.95,
sep_reps = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.