normalize: Normalize data

Description Usage Arguments Value

Description

Normalize the data from the dataset with a specific method.

Usage

1
normalize(dataset, method, ref = NULL, constant = 1000)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

method

string specifying the normalization method. The possible values are:

  • "sum" normalization by sum.

  • "median" normalization by median.

  • "ref.sample" normalization by reference sample.

  • "ref.feature" normalization by reference feature.

ref

the reference if method is "ref.sample" or "ref.feature".

constant

the constant value if method is "sum".

Value

Returns the dataset with the data normalized.


specmine documentation built on Sept. 21, 2021, 5:06 p.m.