Adds information from a data-frame to the samples metadata of a MultiDataSet object.
Arguments
- mo_data
A MultiDataSet::MultiDataSet object.
- df
A tibble or data-frame of samples information, with at least column
id
(giving the sample IDs), and one row per sample ID.- datasets
Character vector, name of the datasets to which the samples information should be added. If
NULL
(default value), the information will be added to the samples metadata of all datasets.