plotOPLSsplot: plotOPLSsplot

plotOPLSsplotR Documentation

plotOPLSsplot

Description

Creates an s-plot for the (r)opls model.

Usage

plotOPLSsplot(
  df,
  cov_cutoff = NULL,
  corr_cutoff = NULL,
  VIP_cutoff = NULL,
  cutoff_labels = FALSE,
  features = NULL
)

Arguments

df

A 'getOPLScorrcov' result dataframe with a feature_anno column to color features.

cov_cutoff

Any feature with a covariance score below this is colored gray.

corr_cutoff

Any feature with a correlation score below this is colored gray

VIP_cutoff

Any feature with a principal VIP score below this is colored gray.

cutoff_labels

If TRUE, adds labels to features above threshold values, if false no features have labels.

features

Character string of features to be labelled, default NULL.

Value

A white plot element with the summary statistics of ropls opls model.


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