Purity spectra plot
# S3 method for 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,
...
)
mcrpure
object
vector of components to show the purity spectra for
type of the plot
colors for the plot (should be a vector with one value for each component in obj
)
if TRUE
show the selected pure variables as vertical lines
color for the selected pure variable lines (by default same as for plots but semitransparent)
line type for the purity lines
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.