fit_induction_sigmoid: Fit induction curve data with a sigmoid

Description Usage Arguments Value

View source: R/fit_induction_sigmoid.R

Description

This function takes raw data from a calibration curve experiment (yeast expressing pHluorin, flow cytometry data) and does all processing steps to construct a calibration curve that maps fluorescence ratio to pH. Takes *raw* (untransformed) FITC and BV510 channels as inputs!

Usage

1
2
fit_induction_sigmoid(df, start.list = c(a = 120, b = 0.05, c = 120, d = 1),
  x.cutoff = "none", extend.to.zero = F)

Arguments

df

Dataframe or dataframe subset with columns "timepoint", "med.red", "shock.pH.f", and "treatment" (last two are grouping variables if a dataframe subset)

start.list

Edit the starting fitting parameters; default is list(a=120, b=0.05, c=120, d=1) (keep this form but change numbers)

x.cutoff

maximum timepoint to consider in fitting; default is "none" (fits on all timepoints)

Value

dataframe with columns "treatment", "shock.pH.f", "timepoint", and "med.red" for plotting


ctriandafillou/cat.extras documentation built on Aug. 27, 2020, 11:04 p.m.