Makes list of feature sets from data-frame
Source:R/methods_evaluation.R
make_feature_sets_from_df.Rd
Creates a list of feature sets from an annotation data-frame.
Arguments
- annotation_df
A data-frame of feature annotation in long format, with at least a column of feature ID and a column giving the set to which the feature belongs. If a feature belongs to more than one set, there should be a row for each of these sets.
- col_id
Character, name of the column in
annotation_df
data-frame that contains the features ID.- col_set
Character, name of the column
annotation_df
data-frame that contains the sets ID.