normalizeSmp: Normalize Samples

Description Usage Arguments Value

View source: R/normalizeSmp.R

Description

Calculate sample concentration based on the fit of standard dilutions.

Usage

1
2
normalizeSmp(dfout, antigen, fname, pdate, yvar, FUNinv, par, bounds,
  fitflag, trim.flat = TRUE)

Arguments

dfout

data frame containing samples

antigen

character string.

fname

name of the file that contains raw data.

pdate

date of the processing

yvar

character strings for the variables used to fit a standard curve.

FUNinv

inverse function to infer sample concentration

par

values of model function parameters

bounds

named vector with values for extrema and bounds indicating "flat" regions of the curve

fitflag

flag for the fit as returned by fitStd

trim.flat

logical value determining how the values of yvar are trimmed. If TRUE, they will be trimmed at the bounds where the curve starts to flatten out (automatically determined as maxima of the third derivative of the function). If FALSE, yvar will be trimmed at extrema, defined as the range of standards or asymptotes of the fit (whichever are less extreme).

Value

a data frame


Greenhouse-Lab/lumfit documentation built on July 20, 2020, 8 p.m.