plotOPLSloadings | R Documentation |
Plot the OPLS principal component and first orthogonal component loadings in ggplot2.
plotOPLSloadings(df, cutoff = NULL, features = NULL)
df |
A 'getOPLSloadings' result dataframe, with p1 and o1 in the second and third column respectively, and a feature_anno column to color features by. |
cutoff |
Numerical value used to label all features with a loading >cutoff or <-cutoff. Default NULL. |
features |
Character string of features to be labelled, default NULL. |
A OPLS loading plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.