Computes LISA statistics for identifying local clusters and outliers.
Used to filter genes driven by only a few cells.
Usage
lisa_test(x, W, alternative = "greater")
Arguments
- x
Numeric vector of values.
- W
Spatial weights matrix.
- alternative
Alternative hypothesis ("greater", "less", "two.sided").
Value
Data frame with LISA statistics for each location.