Visualize communication hotspots on spatial coordinates
plotSpatialHotspots(
object,
metabolite = NULL,
type = "sender",
point_size = 1,
hotspot_size = 5,
n_hotspots = 5
)A scMetaLink object with spatial communication results
Character. Metabolite to analyze (NULL for aggregate)
Character. "sender" or "receiver"
Numeric. Size of spot points
Numeric. Size of hotspot markers
Integer. Number of hotspots to highlight
A ggplot2 object