bh_set_options: Set __bluer__ options

View source: R/old_code/bluehill_functions.2.R View source: R/bluehill_functions.R

bh_set_optionsR Documentation

Set __bluer__ options

Description

Provides an interface to set global options of processing BlueHill files.

Usage

bh_set_options(raw_regex = ".*RawData.*\\.csv$", max_header = 100,
  min_columns = c("Time", "Extension", "Load"),
  id_regex = file.path(".*",
  "(.+).is_.+_RawData.*Specimen_RawData[\\_\\.](\\d+)\\.csv"),
  id_parts = c("filename", "sample", "specimen"))

Arguments

raw_regex

defines what the names of Raw files look like.

max_header

max number of rows in a header. Defaults to 100.

min_columns

a BlueHill test must contain at least three columns. Time, Extension & Load

id_regex

to extract common identifying parts of a pathname

id_parts

the names of the common identifying parts of a pathname

Value

a named list of options. Sets the global bh_options as a side effect.


yadbor/bluer documentation built on Jan. 31, 2023, 7:44 p.m.