Description Usage Arguments Details Value
View source: R/data_analysis.R
Bootstrap and permutation over PLS-VIP on Alpslcms can be performed on both lcms_dataset_1D full spectra as well as lcms_dataset_peak_table peak tables.
1 2 3 4 5 6 7 8 | bp_kfold_VIP_analysis(
dataset,
y_column,
k = 4,
ncomp = NULL,
nbootstrap = 300,
multi = NULL
)
|
dataset |
An lcms_dataset object |
y_column |
A list with the clases of the samples |
k |
Number of folds, recomended between 4 to 10 |
ncomp |
number of components for the bootstrap models, if NULL it will be automatically calculated |
nbootstrap |
number of bootstrap dataset |
Use of the bootstrap and permutation methods for a more robust variable importance in the projection metric for partial least squares regression, in a k-fold cross validation
A list with the following elements:
important_vips
: A list with the important vips selected
relevant_vips
: List of vips with some relevance
wilcoxon_vips
: List of vips that pass a wilcoxon test
vip_means
: Means of the vips scores
vip_score_plot
: plot of the vips scores
kfold_resuls
: results of the k bp_VIP_analysis
kfold_index
: list of index of partitions of the folds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.