scib_rapids.ilisi_knn#
- scib_rapids.ilisi_knn(X, batches, perplexity=None, scale=True)[source]#
Compute the integration LISI (iLISI).
- Parameters:
X (
NeighborsResults) – A NeighborsResults object.batches (
ndarray) – Array of shape (n_cells,) representing batch values.perplexity (
float(default:None)) – Parameter controlling effective neighborhood size.scale (
bool(default:True)) – Scale lisi into the range [0, 1].
- Return type:
- Returns:
ilisi score