addMetaFeatures {OmicNavigator} | R Documentation |
Add meta-feature metadata
Description
The meta-features table is useful anytime there are metadata variables that cannot be mapped 1:1 to your features. For example, a peptide may be associated with multiple proteins.
Usage
addMetaFeatures(study, metaFeatures, reset = FALSE)
Arguments
study |
An OmicNavigator study created with |
metaFeatures |
The metadata variables that describe the meta-features in
the study. The input object is a list of data frames (one per model). The
first column of each data frame is used as the featureID, so it must
contain the same IDs as the corresponding features data frame
( |
reset |
Reset the data prior to adding the new data (default:
|
Value
Returns the original onStudy
object passed to the argument
study
, but modified to include the newly added data