plsda_scores_plot {structToolbox} | R Documentation |
2d scatter plot of plsda component scores.
plsda_scores_plot( components = c(1, 2), points_to_label = "none", factor_name, ... )
components |
The PLS components to plot ( |
points_to_label |
"none", "all", or "outliers" will be labelled on the plot. |
factor_name |
The sample_meta column name for labelling the legend |
... |
additional slots and values passed to struct_class |
struct object
D = iris_DatasetExperiment() M = mean_centre()+PLSDA(factor_name='Species') M = model_apply(M,D) C = plsda_scores_plot(factor_name='Species') chart_plot(C,M[2])