plotLoadings {ConsensusOPLS}R Documentation

Loading plot

Description

Plot of variable loadings in the optimal model.

Usage

plotLoadings(
  object,
  comp1 = "p_1",
  comp2 = "o_1",
  blockId = NULL,
  col = NULL,
  pch = NULL,
  ...
)

## S4 method for signature 'ConsensusOPLS'
plotLoadings(
  object,
  comp1 = "p_1",
  comp2 = "o_1",
  blockId = NULL,
  col = NULL,
  pch = NULL,
  ...
)

Arguments

object

An object of class ConsensusOPLS.

comp1

Latent variable for X-axis. Default, the first predictive component, p_1.

comp2

Latent variable for Y-axis. Default, the first orthogonal component, o_1.

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

...

plot arguments.

Value

No return value, called for side effects.


[Package ConsensusOPLS version 1.0.0 Index]