Skip to contents

Spatial statistics

Downstream analyses of univariate spatial results

clusterCorrelograms()
Find clusters of correlogram patterns
clusterMoranPlot()
Find clusters on the Moran plot
clusterVariograms()
Cluster variograms of multiple features

Spatial plotting

ditto_colors
Colorblind friendly palette from dittoSeq
getDivergeRange()
Get beginning and end of palette to center a divergent palette
plotCellBin2D()
Plot cell density as 2D histogram
plotColGraph() plotAnnotGraph()
Plot spatial graphs
plotGeometry()
Plot geometries without coloring
plotImage()
Show image without plotting geometries
plotSpatialFeature()
Plot gene expression in space
spatialReducedDim()
Plot dimension reduction components in space

Plot spatial analysis results

moranPlot()
Use ggplot to plot the moran.plot results
plotCorrelogram()
Plot correlogram
plotCrossVariogram()
Plot cross variogram
plotCrossVariogramMap()
Plot cross variogram map
plotLocalResult()
Plot local results
plotMoranMC()
Plot Moran/Geary Monte Carlo results
plotVariogram()
Plot variogram
plotVariogramMap()
Plot variogram maps

Non-spatial plotting

ElbowPlot()
Plot the elbow plot or scree plot for PCA
plotColDataFreqpoly() plotRowDataFreqpoly()
Plot frequency polygons for colData and rowData columns
plotColDataHistogram() plotRowDataHistogram()
Plot histograms for colData and rowData columns
plotDimLoadings()
Plot top PC loadings of genes

Spatial analysis results

Extensibility

Utilities

listw2sparse()
Convert listw into sparse adjacency matrix
multi_listw2sparse()
Convert multiple listw graphs into a single sparse adjacency matrix