View source: R/correlationStatistics.R
| spatialCrossCorMatrix | R Documentation | 
Calculates a spatial cross correlation for all pairs
spatialCrossCorMatrix(mat, weight)
mat | 
 Matrix of feature values  | 
weight | 
 Adjacency weight matrix  | 
Matrix of spatial cross correlationf or all pairs
data(mOB) pos <- mOB$pos weight <- getSpatialNeighbors(pos) gexp <- normalizeCounts(mOB$counts, log=FALSE, verbose=FALSE) sccMat <- spatialCrossCorMatrix(gexp[1:5,], weight)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.