calc_cv: Calculate coeffient of variation (CV) by pooled QCs

Description Usage Arguments Examples

View source: R/calculation-functions.R

Description

Calculates the CV value across all pooled QC samples

Usage

1
calc_cv(Peak.list, QC.id)

Arguments

Peak.list

a table of class 'tbl_df',tbl' or 'data.frame' with variables as columns. Should contain all output columns from XCMS and CAMERA.

QC.id

character vector specifying identifier in filename designating a Pooled QC sample. Only the first value will be used. Default is "Pooled_QC_"

Examples

1
2
3
library(LUMA)
test <- calc_cv(Peak.list = Peaklist_Pos$From_CAMERA)
test[["%CV"]][11:23]

USEPA/LUMA documentation built on Aug. 29, 2020, 1:40 p.m.