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-Lab/MERINGUE documentation built on June 8, 2022, 11:41 p.m.