Learn R Programming

Seurat (version 5.0.3)

RunMoransI: Compute Moran's I value.

Description

Wraps the functionality of the Moran.I function from the ape package. Weights are computed as 1/distance.

Usage

RunMoransI(data, pos, verbose = TRUE)

Arguments

data

Expression matrix

pos

Position matrix

verbose

Display messages/progress