plotPuritySpectra.mcrpure: Purity spectra plot

View source: R/mcrpure.R

plotPuritySpectra.mcrpureR Documentation

Purity spectra plot

Description

Purity spectra plot

Usage

## 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.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.