Learn R Programming

SVG (version 1.0.0)

lisa_test: Local Indicators of Spatial Association (LISA)

Description

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")

Value

Data frame with LISA statistics for each location.

Arguments

x

Numeric vector of values.

W

Spatial weights matrix.

alternative

Alternative hypothesis ("greater", "less", "two.sided").