dynamo.tl.infomap(adata, use_weight=True, adj_matrix=None, adj_matrix_key=None, result_key=None, layer=None, obsm_key=None, selected_cluster_subset=None, selected_cell_subset=None, directed=False, copy=False, **kwargs)[source]

Apply infomap community detection algorithm to cluster adata.

For other community detection general parameters, please refer to dynamo's cluster_community() function. “Infomap is based on ideas of information theory. The algorithm uses the probability flow of random walks on a network as a proxy for information flows in the real system and it decomposes the network into modules by compressing a description of the probability flow.” - cdlib

Return type: