scirpy.tl.clonotype_network_igraph
- scirpy.tl.clonotype_network_igraph(adata, basis='clonotype_network', airr_mod='airr')
Get an
igraph
object representing the clonotype network.Requires running
scirpy.tl.clonotype_network()
before, to compute the layout.- Parameters
- adata :
AnnData
|MuData
|DataHandler
Union
[AnnData
,MuData
,DataHandler
] AnnData or MuData object that contains AIRR information.
- basis
Key in
adata.obsm
where the network layout is stored.- airr_mod
Name of the modality with AIRR information is stored in the
MuData
object. if anAnnData
object is passed to the function, this parameter is ignored.
- adata :
- Return type
Tuple
[Graph
,Layout
]- Returns
- graph
Graph
igraph object
- layout
Layout
corresponding igraph Layout object.
- graph