pre-treatment-parameters: Pre-treatment parameters

preTreatmentElementsR Documentation

Pre-treatment parameters

Description

Return pre-treatment elements, methods and parameters.

Usage

preTreatmentElements()

preTreatmentMethods(element)

preTreatmentParameters(methods)

Arguments

element

pre-treatment element name

methods

a named list of element methods

Examples

## Return the availalble pre-treatment elements
preTreatmentElements()

## Return the available pre-treatment methods for the remove element
preTreatmentMethods('remove')

## Define some default pre-treatment parameters
p <- preTreatmentParameters(
  list(
    remove = 'classes',
    QC = c('RSDfilter','removeQC'),
    transform = 'TICnorm'
  )
)

## Assign the pre-treatment parameters to analysis parameters
ap <- analysisParameters('pre-treatment')
parameters(ap,'pre-treatment') <- p

print(ap)

jasenfinch/metabolyseR documentation built on Sept. 18, 2023, 1:25 a.m.