GcxGc_data_cleaning: Cleaning of the peaktables from the PEG4D Leco instrument

Description Usage Arguments Value Author(s) Examples

View source: R/GcxGc_data_simplifier.R

Description

The function transforms the raw peaktable obtained from the chromatof deconvolution software to a clean pekatable with only the names of the Blanks, QCs, samples, Retention times and compound names.

Usage

1
2
3
GcxGc_data_cleaning(x, sample_name, Blanks = TRUE, limit_of_detection = 3,
  simplify_matrix = TRUE, minimum.threshold = 50000, unknown = TRUE,
  column_bleed = TRUE, unlikely = TRUE, grouping = TRUE, RTspan = 40)

Arguments

x

the peaktable obtained from the chromatof deconvolution software

sample_name

the identificative letter/shortname of the samples. Mandatory to allow the algorithm to recognize the samples from the QCs.

Blanks

should be the peaks delete according to their presence in blanks? If TRUE, every compound present also in the blanks with an average amount lower in the samples lower than the average amount found in the blanks multiplied by the LOD factor. default = TRUE

limit_of_detection

the limit of detection for the compounds found also in the blanks. Default = 3

simplify_matrix

if TRUE it will delete the compounds having a maximum value below the min.threshold value. default = TRUE

minimum.threshold

the minimum threshold applied to reduce the matrix according to the maximum intensity found in any of the samples

unknown

should unknown peaks be excluded? default set to TRUE

column_bleed

should common column bleedings be excluded? default set to TRUE

unlikely

should compounds containing unlikely atoms (chlorine, fluorine etc.) be excluded? default set to TRUE

grouping

should compounds having the same name and similar retention times be grouped? Default set to TRUE

RTspan

the maximum distance in seconds between to peaks with the same name to be grouped.

Value

a processed peaktable having all the real pekas present in your data in csv file in your working directory

Author(s)

Luca Narduzzi "nardluca@gmail.com"

Examples

1
2
Gar <- read.csv(system.file("extdata", "Gar.csv", package = "GCxGC.Leco.analyzer"), row.names = 1, stringsAsFactors = FALSE)
GcxGCdata <- GcxGc_data_cleaning(Gar)

lucanard/PEG4D_data_cleaner documentation built on May 17, 2019, 5:52 p.m.