Get.VIP: Calculate variable importance of projection (VIP) score for...

View source: R/biomarker_utils.R

Get.VIPR Documentation

Calculate variable importance of projection (VIP) score for PLS object

Description

Users give a pls object ('oscorespls'=T), function calculates VIP score usually one VIP for each component, return is the average of all VIP

Usage

Get.VIP(pls.obj, comp = 2)

Arguments

pls.obj

Input the PLS object

comp

Numeric, input the number of components, by default it is 2

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on April 20, 2024, 8:13 p.m.