OPLSDA | R Documentation |
OPLS splits a data matrix into two parts. One part contains information orthogonal to the input vector, and the other is non-orthogonal.
OPLSDA(number_components = 1, factor_name, ...)
number_components |
(numeric, integer) The number of orthgonal components. The default is |
factor_name |
(character) The name of a sample-meta column to use. |
... |
Additional slots and values passed to |
A OPLSDA
object with the following output
slots:
opls_model | (list) |
filtered | (DatasetExperiment) |
orthogonal | (DatasetExperiment) |
A OPLSDA
object inherits the following struct
classes:
[OPLSDA]
>> [OPLSR]
>> [model]
>> [struct_class]
M = OPLSDA(
number_components = 2,
factor_name = "V1")
M = OPLSR('number_components'=2,factor_name='Species')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.