plot_concentrations {beadplexr} | R Documentation |
Plot concentrations
Description
Plot concentrations
Usage
plot_std_curve(
df,
.model,
.title = NULL,
.parameter = "FL2.H",
.concentration = "Concentration",
.data = NULL
)
plot_target_est_conc(
df,
.title = NULL,
.concentration = "Calc.conc",
.std_concentration = "Concentration",
.data = NULL
)
plot_estimate(
.sample_data,
.standard_data,
.model,
.title = NULL,
.parameter = "FL2.H",
.concentration = "Concentration"
)
Arguments
df |
A |
.model |
An object of class |
.title |
A character giving the title of the plot. |
.parameter |
A character giving the name of the column with the MFI |
.concentration |
A character giving the name of the column with the with the calculated concentrations. |
.data |
Deprecated. Use |
.std_concentration |
A character giving the name of the column with the standard concentration. |
.sample_data |
A |
.standard_data |
A |
Value
A ggplot
Examples
library(beadplexr)
library(drc)
data(ryegrass)
ryegrass_m <-
fit_standard_curve(df = ryegrass,
.parameter = "rootl",
.concentration = "conc")
recalc_std <-
calculate_concentration(df = ryegrass,
.model = ryegrass_m,
.parameter = "rootl")
sample_data <-
calculate_concentration(df = ryegrass[sample(1:nrow(ryegrass), 5),],
.model = ryegrass_m,
.parameter = "rootl")
plot_std_curve(ryegrass,
ryegrass_m,
.parameter = "rootl",
.concentration = "conc")
plot_target_est_conc(df = recalc_std,
.concentration = "Calc.conc",
.std_concentration = "conc")
plot_estimate(
.sample_data = sample_data,
.standard_data = ryegrass,
.model = ryegrass_m,
.parameter = "rootl",
.concentration = "conc")
[Package beadplexr version 0.5.0 Index]