extract.peaks: A CO2 peak finding function designed for Li-Cor LI-8100A

Description Usage Arguments Examples

View source: R/extract.peaks.R

Description

This function provides user's of a LI-8100A Li-Cor Analyzer a simple way to extract and compile peak results from CO2 peak data. It will loop through a folder containing the text files that the Li-Cor Analyzer outputs, and compiles the results into a single R dataframe.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'peaks'
extract(
  directory = choose.dir(),
  cut.off = 2,
  method = "linear",
  standard.sum = FALSE,
  check.stand = FALSE,
  check.alpha = 0.05,
  ci.meth = "avg",
  verbose = TRUE
)

Arguments

directory

Path to directory containing the files to be processed. Defaults to user selection window.

cut.off

Cut off value used to define when the peak should start and end. Defaults to 2.

method

select regression method used for the standard curve, either "linear", or "log".

standard.sum

Specifies whether or not the user wants to output a summary of the standard curve statistics.

check.stand

A logical argument stating whether or not to compare "check" standards to the standard curve.

check.alpha

The value (0-1) you want to accept for check standards deviation, lower numbers indicate the confidence interval increases.

ci.meth

Argument to specify whether to compare average ("avg") check standard AUC values, or individual ("indiv") check standard AUC values

verbose

A logical argument stating whether or not to display all function processing information. Defaults to TRUE.

Examples

1
ex.output <- extract.peaks(directory = path.package("peak.gas"))

andersonjake1988/peak.gas documentation built on Jan. 20, 2022, 11:16 p.m.