scib.metrics.lisi_graph

scib.metrics.lisi_graph(adata, batch_key, label_key, **kwargs)

cLISI and iLISI scores

This is a reimplementation of the LISI (Local Inverse Simpson’s Index) metrics https://doi.org/10.1038/s41592-019-0619-0

see clisi_graph() and ilisi_graph()

Parameters:
  • adata – adata object to calculate on

  • batch_key – batch column name in adata.obs

  • label_key – label column name in adata.obs

Params **kwargs:

arguments to be passed to clisi_graph() and ilisi_graph()

Returns:

Overall cLISI and iLISI scores