plotPuritySpectra.mcrpure function

Purity spectra plot

Purity spectra plot

## S3 method for class 'mcrpure' plotPuritySpectra( obj, comp = seq_len(obj$ncomp), type = "l", col = mdaplot.getColors(obj$ncomp), show.lines = TRUE, lines.col = adjustcolor(col, alpha.f = 0.75), lines.lty = 3, lines.lwd = 1, ... )

Arguments

  • obj: mcrpure object

  • comp: vector of components to show the purity spectra for

  • type: type of the plot

  • col: colors for the plot (should be a vector with one value for each component in obj)

  • show.lines: if TRUE show the selected pure variables as vertical lines

  • lines.col: color for the selected pure variable lines (by default same as for plots but semitransparent)

  • lines.lty: line type for the purity lines

  • lines.lwd: line width for the purity lines

  • ...: other parameters suitable for mdaplotg

    The plot shows weighted purity value of each variable separately for each specified component.

  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19