swiftcnv.summarise_by_obs#
- summarise_by_obs(adata, obsm_key='cnv_mat', by='sample', mode='mean')#
Summarise the values in the specified obsm matrix by cell attributes (sample by default).
- Parameters:
- Returns:
Summarised matrix indexed by the grouped
byattribute.- Return type: