netmap.downstream.clustering.process¶
- netmap.downstream.clustering.process(grn_adata, n_clu=2, key_added='spectral')¶
Wrapper function for convenience processing and clustering
- Parameters:
grn_adata (AnnData) – A GRN anndata object to process
n_clu (int) – Number of clusters to compute
key_added (str) – The key to add the new labelling to [Default: spectral]
- Returns:
grn_adata – Processed Anndata object with an additional column in the .obs slot of the object named key_added
- Return type:
AnnData