plotOPLSloadings: plotOPLSloadings

plotOPLSloadingsR Documentation

plotOPLSloadings

Description

Plot the OPLS principal component and first orthogonal component loadings in ggplot2.

Usage

plotOPLSloadings(df, cutoff = NULL, features = NULL)

Arguments

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.

Value

A OPLS loading plot.


AslaugL/thesisToolsOmics documentation built on April 3, 2022, 8:16 p.m.