mofaflex.FeatureSet#
- class mofaflex.FeatureSet(features, name, description='')#
Class for storing a single set of features (genes).
This class stores a single set of features (genes) and provides set operations for intersection, union, and difference.
Notes
If the feature set is empty, a warning is raised. If the collection of features contains duplicates, a warning is raised.
Attributes table#
Check if the feature set is empty. |
Methods table#
|
Subset features from a feature set. |
Attributes#
- FeatureSet.empty#
Check if the feature set is empty.
Methods#
- FeatureSet.subset(features)#
Subset features from a feature set.
- Parameters:
- Return type: