opa: Orthogonal Projection Approach

Description Usage Arguments Value

View source: R/als.R

Description

find the most dissimilar spectra in a hyperSpec object. This function is a customized version of the function opa from the package alsace to work with objects of the class hyperSpec.

Usage

1
opa(x, ncomp = NULL, return_scaled = TRUE)

Arguments

x

a hyperSpec object.

ncomp

integer, number of most dissimilar spectra to return.

return_scaled

if TRUE, unit-length scaled spectra are returned, if FALSE the original intensities are retained.

Value

a hyperSpec object containing ncomp spectra.


konradmayer/hyperSpec.utils documentation built on May 2, 2021, 4:17 a.m.