lisaTest: Local indicators of spatial association

View source: R/correlationStatistics.R

lisaTestR Documentation

Local indicators of spatial association

Description

Local indicators of spatial association

Usage

lisaTest(x, weight, alternative = "greater")

Arguments

x

Feature value

weight

Adjacency weight matrix

alternative

"two.sided", "less", or "greater"

Value

Data frame of observed, expected, standard deviation, and p-value for each point

Examples

data(mOB)
pos <- mOB$pos
weight <- getSpatialNeighbors(pos)
gexp <- normalizeCounts(mOB$counts, log=FALSE, verbose=FALSE)['Camk4',]
lisa <- lisaTest(gexp, weight)


JEFworks/MERingue documentation built on June 11, 2022, 4:16 a.m.