- decoupler.summarize_acts(acts, groupby, obs=None, mode='mean', min_std=1.0)
Summarizes activities obtained per group by their mean or median and removes features that do not change across samples.
- actsAnnData or DataFrame
Activities obtained after running a method.
Column name of obs to use for grouping.
None or a data-frame with sample meta-data.
Wheter to use mean or median to summarize.
Minimum std to filter out features. Only features with enough variability will be returned. Decrease it to return more features.
Dataframe with summaried actvities per group.