Plot cells based on spatial coordinates.
Arguments
- spe
A SpatialExperiment object.
- reverseY
Reverse y coordinates.
- n
Integer value. The number of distinct color to be generated, default is 30.
- ...
Aesthetic mappings to pass to
ggplot2::aes_string()
.
Examples
data("xenium_bc_spe")
plotSpatial(spe, shape = ".", color = cell_type, size = 0.3, alpha = 0.2)