readPHAssay: Generic parser for PureHoney Assay layouts

Description Usage Arguments Examples

Description

High level wrapper function that that imports the assay layout for PureHoney as a tibble. Uses fixed offset from document markers to capture specific regions, prone to errors if assay document template is altered.

Usage

1
2
3
readPHAssay(layout_file, plate_ids = NULL, meta_cols = c(1, 3:5),
  meta_names = c("contents", "sample_id", "imaging_plate", "imaging_well"),
  skip = 10)

Arguments

layout_file

Path to .xlsx file with PureHoney assay layout.

plate_ids

Optional character vector to extract only specific plate(s) from multi-plate document.

meta_cols

Numeric vector defining the columns to extract for meta section. Default is most common arrangment.

meta_names

Character vector defining column names for meta section. Length must match legnth(meta_cols). Default is most common arrangment.

skip

Number of rows to ignore when looking for plates. Useful for avoiding standard curve references in the header.

Examples

1
meta <- readPHAssay("CoA plates 100000537_100000538_RNO02004_PAH0119_6-29-17.xlsx")

stevehoang/assayr documentation built on May 24, 2019, 7:20 a.m.