fit_standard_curve {beadplexr}R Documentation

Fit a standard curve

Description

Fit a logistic function to the standard concentrations.

Usage

fit_standard_curve(
  df,
  .parameter = "FL2.H",
  .concentration = "Concentration",
  .fct = "LL.5",
  .data = NULL,
  ...
)

Arguments

df

A tidy data.frame.

.parameter

A character giving the name of column(s) where populations are identified.

.concentration

A character giving the name of the column with the standard concentration.

.fct

A character giving the name of the logistic function to use in the fit, see drc::drm() for details.

.data

Deprecated. Use df.

...

Other arguments to drc::drm()

Value

An object of class drc

Examples


library(beadplexr)
library(drc)
data(ryegrass)

ryegrass_m <-
  fit_standard_curve(df = ryegrass,
                     .parameter = "rootl",
                     .concentration = "conc")

summary(ryegrass_m)


[Package beadplexr version 0.5.0 Index]