
Generate mixomics input data for supervised methods
Source:R/mixomics.R
get_input_mixomics_supervised.RdCreates an object that can be used as input for the MixOmics package. It contains the omics datasets restricted to common samples (with no missing group information) and an outcome group for each sample.
Usage
get_input_mixomics_supervised(mo_data, group, datasets = names(mo_data))Arguments
- mo_data
A
MultiDataSet-classobject.- group
Character, the column name in the samples metadata data-frames to use as samples group (use
get_samples_metadatato view the samples information data-frame for each dataset). This column should be either of type factor, character or integer.- datasets
Character vector, the names of the datasets from
mo_datato include in the analysis.