read_ph_assay: 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
read_ph_assay(file, plate_ids = NULL, meta_cols = NULL,
  meta_names = NULL, skip = 15, ...)

Arguments

file

Path to .xlsx file with PureHoney assay layout.

plate_ids

Optional character vector with plate numbers to extract. Defaults to NULL, which will extract all plate ids present.

meta_cols

Numeric. Defines the columns to extract from metadata table. Default is NULL for all columns.

meta_names

Character. Column names, length must match legnth(meta_cols).'

skip

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

...

Arguments passed to read_generic()

Examples

1
2
ph_meta <- system.file("extdata", "PH_Assay_example.xlsx", package = "assayr2")
meta <- read_ph_assay(ph_meta)

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