- decoupler.get_acts(adata, obsm_key)
Extracts activities as AnnData object.
From an AnnData object with source activities stored in .obsm, generates a new AnnData object with activities in X. This allows to reuse many scanpy processing and visualization functions.
Annotated data matrix with activities stored in .obsm.
.osbm key to extract.
New AnnData object with activities in X.