Description Usage Arguments Value
View source: R/simple_loadings.R
HotLoadings.plot_loadings_simple Plot Loadings the simple way
1 2 3 4 5 6 7 8 9 10 11 12 |
PSOBJ |
A phyloseq object. |
format |
"last" if only the deepest taxonomic characterization is needed. "long" if all taxonomic levels are needed. "short" if last 2 known taxonomic levels are needed. "none" for the SV/OTU number only. |
data.splsda |
A sPLS-DA object from mixomics. |
method |
a character set to 'mean' or 'median' indicating the criterion to assess the contribution. We recommend using median in the case of count or skewed data. |
contrib |
a character set to 'max' or 'min' indicating if the color of the bar should correspond to the group with the maximal or minimal expression levels / abundance. |
Y_name |
A character string indicating which is the variable associated with component specified. Must be a dicothomous variable. |
comp |
integer value indicating the component of interest from the object. |
ndisplay |
integer indicating how many of the most important variables are to be plotted (ranked by decreasing weights in each PLS-component). Useful to lighten a graph. |
offset |
A value indicating the amount of justification from axis for possible plots. (Default = 0.005) |
colors |
Vector of Hexadecimal codes for colors. Must be the same length of Y levels. |
The function return a ggplot2 loadings object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.