xfNorm: Normalisation based on an External Factor

View source: R/xfNorm.R

xfNormR Documentation

Normalisation based on an External Factor

Description

This function utilises an array of dilution coefficients acquired externally to normalise the spectra.

Usage

xfNorm(X, xfactor)

Arguments

X

A numerical matrix with rows being the spectra and columns being the chemical shift variables

xfactor

A numerical array of values that correspond to the dilution coefficients of the spectra. Must be row-matched to the provided X matrix.

Details

xfNorm() works by dividing all values within a spectrum by the value of its external factor.

Value

This function returns a list with:

  1. The normalised X matrix in the first list element, and

  2. A numerical array of the corresponding dilution factors in the second.

  • Following the example below will extract the results quickly and easily.

Author(s)

kylebario1@gmail.com

See Also

https://doi.org/10.1021/ac051632c

Other Reference-Based: hmNorm(), pqNorm(), q2Norm()

Examples

data(X, osmo)
xfNorm(X, osmo)

kylebario/concentr8r documentation built on Nov. 9, 2022, 12:47 a.m.