calour.database.
add_terms_to_features
(exp: calour.experiment.Experiment, dbname, use_term_list=None, field_name='common_term', term_type=None, ignore_exp=None)[source]¶Add a field to the feature metadata, with most common term for each feature
Create a new feature_metadata field, with the most common term (out of term_list) for each feature in experiment. It adds annotations in-place.
Note
This function is also available as a class method Experiment.add_terms_to_features()
Parameters: |
|
---|---|
Returns: | with feature_metadata field containing the most common database term for each feature |
Return type: |