Data preprocessing to remove the lowest wavelengths for each signature, possibly because of noise.

remove_tail(signatures, tail)

Arguments

signatures

A spectral object built using the load_signature_files function.

tail

The wavelengths from tail to the maximum will be removed.

Value

The processed (high wavelength filtered) signatures.

See also

Examples

data(signatures) filtered_signatures <- remove_tail(signatures, tail=2400)