Purpose
This App is used to perform discriminant analysis based on partial least squares regression, a method that extracts the most relevant feature information from samples to facilitate classification analysis.
Installation
The App requires R software (recommended version 4.4.01) and packages (ropls, GenomeInfoDbData).
- Open the download page for R version 4.4.1
- Download the file named R-4.4.1-win.exe and install it
- Once you have successfully installed R, you can then install the App
- The App will download and install required R packages when you run it the first time.
Note that if you installed the App prior to instalilng R, the App icon will show in the Apps bar.
Simply click on that icon to continue after you have installed R.
Note: If downloading packages fails, a pop-up dialog will ask you to copy 2 lines of commands from Results Log and run them in R to complete downloading packages.
Related FAQ: FAQ-1214 What can I do when Origin has trouble launching R?
Dialog Settings
- Input
- Independent Variables: Select data to specify the independent variables.
- Dependent Variables: Select data to specify the dependent variables.
- Observation Labels: Select data to specify label for observation, the labels will be show in the Score Plots.
- Predict Response: Determine whether to predict response from the established parital least square model. If checked, Independent Variables for Prediction control is shown.
- Independent Variables for Prediction: Select data to specify independent variables for prediction.
- Settings
- Scale Variables: Choose a method to scale input variables.
- Maximum Number of Factors: Specify the maximum number of factors to be in the regression model.
- Quantities
- Standardized Coefficients: Specify whether to output the coefficients for the scaled variables.
- VIP: Specify whether to ouput the numerical vector of Variable Importance for Prediction.
- Loadings: Specify whether to ouput the loadings for each X and Y variables.
- Scores: Specify whether to ouput the scores for each X and Y variables.
- Predicted Response for Training Data: Speciify whether to output the fitted values.
- Residuals: Speciify whether to output the residuals.
- X Weights: Speciify whether to output the weights for each X variable.
- Plots
- Standardized Coefficients Plot: Specify whether to show Standardized Coefficients Plot.
- Variance Importance Plot: Specify whether to show the Variance Importance Plot.
- Component Plot: Specify whether to show the Loading Plot for eigenvectors of X and Y. Specify whether to show the Score Plot for scores of X and Y. Specify factors for the X, Y and Z axis in plots.
Sample OPJU File
This app provides a sample OPJU file. Right click the App icon in the Apps Gallery window, and choose Show Samples Folder from the short-cut menu. A folder will open. Drag-and-drop the project file PLS-DA Sample.opju from the folder onto Origin. The Notes window in the project shows detailed steps.
Note: If you wish to save the OPJU after changing, it is recommended that you save to a different folder location (e.g. User Files Folder).
Reference
https://search.r-project.org/CRAN/refmans/lme4/html/glmer.html