vecNorm: Vector Length Normalisation

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

View source: R/vecNorm.R

Description

This function aims to normalise NMR spectra by their vector length.

Usage

1

Arguments

X

The spectr(a/um) to be normalised

Details

This function operates by squaring all values of the spectrum, summing them, and square rooting the result. Then each element from that spectrum is divided by this vector length.

Value

The return value of vecNorm() will be of same shape as the X argument parsed to it, either an array or matrix of normalised X

Author(s)

kylebario1@gmail.com

See Also

The methods paper that describes this method of normalisation can be found here: https://doi.org/10.1021/ac051632c

Other Attribute-Based: creNorm(), qNorm(), roiNorm(), taNorm()

Examples

1
2
3
data(X)
vecNorm(X)
cat(dilf_vec)

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