Generate a variable importance in projection (VIP) scores plot for the data.
Arguments
- dataSet
The data set corresponds to the output from the function
analyze.plsda
.- comp
An integer (default = 1) specifying the PLS-DA component to use when ranking variables.
- num
An integer (default = 10) specifying the number of top variables (highest VIP scores) to display.
- thres
A scalar (default = 1) specifying the vertical dashed line drawn at this VIP value.
- rel.widths
A numerical vector specifying the proportion of relative widths for the plot panels. Defaults to widths chosen based on the range of the top variables' VIP scores and the number of group conditions.