mantispy.tl.rank_sets#
- mantispy.tl.rank_sets(adata, groupby, score_key='score_ulm', key_added='rank_sets', copy=False)[source]#
Rank feature sets by how far each group’s score sits from the rest.
- Parameters:
- Return type:
- Returns:
None, or the modified copy. Writesuns["mantispy"][key_added]withgroup,setandscore, the group’s mean enrichment score minus the mean over all other rows.