spatialPlot: Spatial plotting functions

spatialPlotR Documentation

Spatial plotting functions

Description

Spatial plotting functions

Arguments

color

Optional hex code to set color of borders around spots. Set to NA to remove borders.

...

Additional arguments for geom_polygon(). size, to specify the linewidth of these borders, is likely the most useful.

platform

Spatial sequencing platform. If "Visium", the hex spot layout will be used, otherwise square spots will be plotted.
NOTE: specifying this argument is only necessary if sce was not created by spatialCluster() or spatialEnhance().

is.enhanced

True if sce contains subspot-level data instead of spots. Spatial sequencing platform. If true, the respective subspot lattice for each platform will be plotted.
NOTE: specifying this argument is only necessary if sce was not created by spatialCluster() or spatialEnhance().

nsubspots.per.edge

Number of subspots per edge of the square. Only valid when platform is 'ST' or 'VisiumHD'.


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.