mixomics_plsda: PLS-DA

Description Usage Arguments Value Examples

View source: R/multivariate.R

Description

A simple wrapper for fitting a PLS-DA model using plsda function of the mixOmics package. The object can then be passed to many of the mixOmics functions for prediction, performance evaluation etc. To run initial optimization for a PLS-DA model, try mixomics_plsda_optimize.

Usage

1
mixomics_plsda(object, y, ...)

Arguments

object

a MetaboSet object

y

character, column name of the grouping variable to predict

...

any parameters passed to mixOmics::plsda

Value

an object of class "plsdsa"

Examples

1
plsda_res <- mixomics_plsda(merged_sample, y = "Group")

antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.