plot_oplsda: Plot OPLS-DA models produced by 'ropls::opls()'

plot_oplsdaR Documentation

Plot OPLS-DA models produced by ropls::opls()

Description

Plot OPLS-DA models produced by ropls::opls()

Usage

plot_oplsda(ropls_pls, annotate = c("caption", "subtitle"))

Arguments

ropls_pls

an OPLS-DA model with a discrete Y variable produced by ropls::opls()

annotate

location on the plot to print model statistics

Value

a ggplot object

Examples

## Not run: 
plot_oplsda(oplsda)

## End(Not run)

Aariq/chemhelper documentation built on Feb. 24, 2023, 8:16 p.m.