plotVIP {ConsensusOPLS}R Documentation

VIP plot

Description

Plot of VIP versus variable loadings in the optimal model.

Usage

plotVIP(
  object,
  comp1 = "p_1",
  comp2 = "p",
  blockId = NULL,
  col = NULL,
  pch = NULL,
  xlab = NULL,
  ylab = NULL,
  ...
)

## S4 method for signature 'ConsensusOPLS'
plotVIP(
  object,
  comp1 = "p_1",
  comp2 = "p",
  blockId = NULL,
  col = NULL,
  pch = NULL,
  xlab = NULL,
  ylab = NULL,
  ...
)

Arguments

object

An object of class ConsensusOPLS.

comp1

Latent variable for loadings on Y-axis. Default, the first predictive component, p_1.

comp2

Latent variable for VIPs on X-axis. Default, the predictive component, p.

blockId

The positions or names of the blocks for the plot. Default, NULL, all.

col

A vector of color codes or names, one for each block. Default, NULL, 2 to length(blockId)+1.

pch

A vector of graphic symbols, one for each block. Default, NULL, 1 to length(blockId).

xlab

X-axis label. Default, NULL, Loading on comp.

ylab

Y-axis label. Default, NULL, VIP on comp.

...

plot arguments.

Value

No return value, called for side effects.


[Package ConsensusOPLS version 1.0.0 Index]