plotMarkers {mixOmics} | R Documentation |
Plots the standardised values (after centring and/or scaling) for the
selected variables for a given block on a given component. Only applies to
block.splsda
or block.spls
.
plotMarkers( object, block, markers = NULL, comp = 1, group = NULL, col.per.group = NULL, global = FALSE, title = NULL )
object |
An object of class |
block |
Name or index of the block to use |
markers |
Character or integer, only include these markers. If integer, the top 'markers' features are shown |
comp |
Integer, the component to use |
group |
Factor, the grouping variable (only required for
|
col.per.group |
character (or symbol) color to be used when 'group' is defined. Vector of the same length as the number of groups. |
global |
Logical indicating whether to show the global plots (TRUE) or segregate by feature (FALSE) |
title |
The plot title |
A ggplot object
plotLoadings
, block.splsda
, block.spls
# see ?block.splsda and ?block.spls