xfNorm: Normalisation based on an External Factor

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/xfNorm.R

Description

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

Usage

1
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

How It Works:

  1. All the intensities of a spectrum are divided by its external dilution coefficient.

  2. This is done to all spectra with their corresponding dilution factors

Advantages:

Limitations:

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.

Author(s)

kylebario1@gmail.com

See Also

https://doi.org/10.1021/ac051632c

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

Examples

1
2
data(X)
xfNorm(X, c(300, 300))

kylebario/unorm documentation built on Dec. 21, 2021, 8:45 a.m.