read_moldev: Parser for Molecular Devices scope output

Description Usage Arguments Value Warning Examples

Description

Extracts meta information from table headers and combines individual scope aquisition tables into a single unified data frame.

Usage

1
2
read_moldev(file, measurements = NULL, verbose = TRUE,
  plate_capture = ".*Plate ?(\\d*|\\d*b).*", ...)

Arguments

file

A valid path to a .txt or .xlsx file with Molecular Devices scope output.

measurements

Default is NULL, which will auto-detect measurements present and messsage the user in terminal. Alternativly, provide a character vector of regex ready (special characters must be escaped) patterns and only matching measurements will be returned.

verbose

Boolean, should information about parsed columns be printed to the console?

plate_capture

Character, regex capture expression to grab plate identifier from the field "Acquisition Name [Plate Info]". Default grabs digits followed by optional "b". The gsub() call this feeds into is case insensitive.

...

Arguments passed to read_generic()

Value

A data frame with columns for run, plate, well, site and measurments.

Warning

This function will not work with a file = $BoxFileID, due to rio::import()'s behavior which is baked into boxr. So file must be a local path.

Examples

1
2
3
4
5
moldev_smaa <- system.file("extdata", "SMAA_Moldev_example.txt", package = "assayr2")
smaa <- read_moldev(moldev_smaa)

moldev_nilered <- system.file("extdata", "NileRed_Moldev_example.txt", package = "assayr2")
nilered <- read_moldev(moldev_nilered)

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