mp_express: High level wrapper to process raw MagPix files.

Description Usage Arguments Value Examples

Description

High level wrapper to process raw MagPix files.

Usage

1
2
mp_express(infiles, plate_ids, concentrations, wells_to_omit = NA,
  value = "Net MFI")

Arguments

infiles

Character vector denoting file paths for raw data files

plate_ids

Character vector of plate identifiers (since sometimes, it is not always in order)

concentrations

Optional argument, list where keys are analyte identifiers and values are numeric vectors indicating standard concentrations used.

wells_to_omit

If not NA, a list or equal length to plate_ids with the standard wells to remove. Elements are passed to 'mp_fit_standards(wells_to_omit=...)' individually, so an element of 'NA' will result in no wells being dropped from the corresponding plate.

value

Name of the absorbance value to use ('Median' or 'Net MFI').

Value

MagPix object

Examples

1
2
3
4
5
6
7
8
9
 ## Not run: 
 file <- system.file("extdata", "Magpix_example.csv", package = "assayr2")
 infiles <- c(file, file)
 d <- mp_express(infiles, 1:2)
# If the line above fails, then we might need to pass an extra argument
# for concentrations we can see in the template file
 d <- mp_express(files, 1:2, list('BMP-10' = c(3250, 1083, 361, 120, 40, 13, 4)))

## End(Not run)

hemoshear/assayr2 documentation built on Nov. 8, 2019, 6:13 p.m.