GetiLISI.Rd
Compute LISI scores (for each cell) for a Seurat object with a specified number of samples. The median LISI score across all cells is then corrected for the total number of samples, and converted into a format where 0 = maximum integration and 1 = maximum segregation. A single score on a scale of 0-1 is returned.
GetiLISI(object = NULL, nSamples = NULL)
object | A Seurat object with a UMAP computed, and sample identifiers stored as "orig.ident" in the object metadata slot. |
---|---|
nSamples | The number of unique samples within the Seurat object (the number of samples which have been integrated in the UMAP). |
Returns a numeric score from 0-1 (best-worst).
GetiLISI(object = my_seurat_object, nSamples = 3) #> Error in GetiLISI(object = my_seurat_object, nSamples = 3) object 'my_seurat_object' not found