PLSDA.VIP: Variable Importance in the Projection (VIP)

Description Usage Arguments Value Author(s) See Also Examples

View source: R/PLSDA.VIP.R

Description

Returns VIP score of each X-variable in a PLS-DA (obtained from plsda).

Usage

1
PLSDA.VIP(model, graph = FALSE)

Arguments

model

object of class "plsda" (from plsda).

graph

logical: should VIP scores be displayed?

Value

tab

table of results.

sup1

name of X-variables having a VIP score > 1.

Author(s)

Maxime Herv<e9> <[email protected]>

See Also

plsda

Examples

1
2
3
4
5
require(mixOmics)
data(yeast)

model.PLSDA <- plsda(t(yeast$data),yeast$strain.cond)
PLSDA.VIP(model.PLSDA)

Example output

*** Package RVAideMemoire v 0.9-68 ***
Loading required package: mixOmics
Loading required package: MASS
Loading required package: lattice
Loading required package: ggplot2

Loaded mixOmics 6.2.0

Visit http://www.mixOmics.org for more details about our methods.
Any bug reports or comments? Notify us at mixomics at math.univ-toulouse.fr or https://bitbucket.org/klecao/package-mixomics/issues

Thank you for using mixOmics!
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
                                VIP
L-Ornithine               2.1608731
L-Lysine                  2.0226569
Succinate                 1.7318277
2-Oxoglutarate            1.5684286
L-Alanine                 1.0989975
L-Isoleucine              1.0972700
L-Histidine               1.0190501
Citrate                   0.9628666
L-Proline                 0.9513192
L-Valine                  0.9209874
Nicotinate                0.9154699
Myristic acid             0.9089993
2-Isopropylmalate         0.8958234
L-Leucine                 0.8833906
L-Glutamate               0.8752079
Malate                    0.8640029
L-Tyrosine                0.8632407
Glycine                   0.8555658
Fumarate                  0.8543153
L-Asparagine              0.8374494
L-Aspartate               0.8353030
L-Glutamine               0.7989768
Oxaloacetate              0.7976543
trans-4-Hydroxy-L-proline 0.7945077
Pimelic Acid              0.7938135
S-Adenosyl-L-methionine   0.7925465
NADP+                     0.7826019
L-Methionine              0.7781920
L-Phenylalanine           0.7675196
4-Aminobutanoate          0.7579070
(R)-Lactate               0.7268701
Glyoxylate                0.7105818
2-Oxoadipate              0.6964276
NADH                      0.6611565
L-Serine                  0.6476167
L-Threonine               0.4431064
(R)-2-Oxoisovalerate      0.4086959

RVAideMemoire documentation built on Aug. 21, 2017, 5:07 p.m.