extractStd: Extract Standards

Description Usage Arguments Details Value

View source: R/prep.R

Description

Separates specified serial dilutions for fitting, background, and samples

Usage

1
extractStd(MFI, stdstr, bgstr, dilut, smpdil, antigen, yvar)

Arguments

MFI

data frame with variable "Sample" that contains information about standard concentrations in "1/dilution" format (e.g. "1/200").

stdstr

character string indicating standards in the file's "Sample" column. Not case sensitive. If "" (empty string), standards will be determined by the pattern "1/" only.

bgstr

character string indicating background in the file's "Sample" column. Not case sensitive.

dilut

standard dilutions to use for standard curve fitting. If NULL, all the dilutions indicated in a "Sample" variable are used.

smpdil

dilution used for the samples.

antigen

character string.

yvar

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

Details

details

Value

A list with standards for fitting, background values, sample values, indices for samples, and a data frame - for a specified antigen.


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