This function refines the unmixing process for spectral data, iteratively updating the spectra matrix and calculating unmixing errors.

refine.unmixing(
  spectra.initial,
  flow.control,
  asp,
  clean.expr = FALSE,
  title = "Refined"
)

Arguments

spectra.initial

Initial spectra matrix.

flow.control

List containing flow control information.

asp

The AutoSpectral parameter list. Prepare using get.autospectral.param

clean.expr

Logical indicating whether to clean expression data.

title

Optional prefix for the plot title.

Value

The refined spectra matrix.