joincountAnalysis | R Documentation |
This function performes multi-categorical join count analysis of the rasterized sample. A neighbors list is then created from the rasterized sample, in which adjacent and diagonal neighbors for each pixel are identified.
joincountAnalysis(mosaicIntegration)
mosaicIntegration |
A raster object converted from a labeled spatial tissue map from Function rasterization. |
A data.frame that contains the observed join counts, the expected count under conditions of spatial randomness, the variance calculated under non-free sampling, and calculated Z-score.
fpath <- system.file("extdata", "dataframe.rda", package="stJoincount") load(fpath) mosaicIntegration <- rasterizeEachCluster(humanBC) joincount.result <- joincountAnalysis(mosaicIntegration)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.