scirpy.tl.clonotype_network_igraph

scirpy.tl.clonotype_network_igraph(adata, basis='clonotype_network')

Get an igraph object representing the clonotype network.

Requires running scirpy.tl.clonotype_network() before, to compute the layout.

Parameters
adata : AnnData

Annotated data matrix.

basis

Key in adata.obsm where the network layout is stored.

Return type

Tuple[Graph, Layout]

Returns

graphGraph

igraph object

layoutLayout

corresponding igraph Layout object.