plsda_predicted_plot {structToolbox} | R Documentation |
A plot of the regression coefficients from a PLSDA model.
plsda_predicted_plot(factor_name, style = "boxplot", ...)
factor_name |
(character) The name of a sample-meta column to use. |
style |
(character) Plot style. Allowed values are limited to the following:
The default is |
... |
Additional slots and values passed to |
This object makes use of functionality from the following packages:
pls
ggplot2
A plsda_predicted_plot
object.
Mevik B, Wehrens R, Liland K (2020). pls: Partial Least Squares and Principal Component Regression. R package version 2.7-3, https://CRAN.R-project.org/package=pls.
Wickham H (2016). ggplot2: Elegant Graphics for Data Analysis. Springer-Verlag New York. ISBN 978-3-319-24277-4, https://ggplot2.tidyverse.org.
D = iris_DatasetExperiment() M = mean_centre()+PLSDA(factor_name='Species') M = model_apply(M,D) C = plsda_predicted_plot(factor_name='Species') chart_plot(C,M[2])