InternalReferenceSpectrum: InternalReferenceSpectrum.

Description Usage Arguments Value

View source: R/ReferenceSpectrum.R

Description

Calculates the dataset reference spectrum to use in label free alignment. The reference spectrum is the spectrum in the dataset with the best correlation to average spectrum and with high TIC.

Usage

1
InternalReferenceSpectrum(img, reference = img$mean)

Arguments

img

MSI image to calculate internal reference spectrum.

reference

the spectrum to use as reference for correlations.

Value

a list with the intensity vector corresponding to the reference spectrum, the score and the pixel ID selected as reference.


prafols/rMSIproc documentation built on Dec. 12, 2021, 7:31 p.m.