Wrapper function around the o2m function.
The main purpose of this wrapper is to add to the result the names of the datasets
to facilitate plotting.
Usage
so2pls_o2m(
omicspls_input,
cv_res = NULL,
sparsity_res = NULL,
n = NULL,
nx = NULL,
ny = NULL,
sparse = FALSE,
keepx = NULL,
keepy = NULL,
...
)Arguments
- omicspls_input
A named list of length 2, produced by
get_input_omicspls.- cv_res
Named integer vector of length 3, with names
n,nx,ny. Should be obtained withso2pls_get_optim_ncomp_adjorso2pls_get_optim_ncomp.- sparsity_res
Named list of length 2, with names
keepxandkeepy. Should be obtained withso2pls_get_optim_keep.- n
Positive integer, number of joint components to compute. Ignored if
cv_resis notNULL.- nx
Positive integer, number of specific components to compute for the first dataset. Ignored if
cv_resis notNULL.- ny
Positive integer, number of specific components to compute for the second dataset. Ignored if
cv_resis notNULL.- sparse
Logical, should feature selection be performed? Default value is
FALSE. Ifsparsity_resis notNULL, will be set toTRUE.- keepx
Integer or integer vector of length
n, number of features from the first dataset to retain for each joint component. Ignored ifsparsity_resis notNULL.- keepy
Integer or integer vector of length
n, number of features from the second dataset to retain for each joint component. Ignored ifsparsity_resis notNULL.- ...
Other arguments passed to
o2m.
Value
A list (see o2m).
