mantispy.tl.feature_sets#
- mantispy.tl.feature_sets(adata, by='feature_group')[source]#
Build a decoupler network from the parsed feature annotation.
- Parameters:
- Return type:
- Returns:
A frame with
source,targetandweight, ready forenrich()or for decoupler directly. Features with a missing annotation in any of the columns are left out.