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

RunMoransI(data, pos, verbose = TRUE)

Arguments

data

Expression matrix

pos

Position matrix

verbose

Display messages/progress