This function creates an interactive scatter plot of the spatial
coordinates from a SpatialExperiment object. The plot is rendered
using Plotly, allowing for interactive exploration with tooltips
displaying the full resolution row and column coordinates and the
associated nUMI values. The y-axis is inverted for better visual
representation.
Usage
plot_overview(spe, sample_id = "sample01")
Arguments
-
spe
-
A SpatialExperiment object. This is the main data object
containing spatial coordinates and UMI counts.
-
sample_id
-
A character string specifying the sample ID to be used for
filtering the SpatialExperiment object. Defaults to
"sample01".
Value
An interactive Plotly object representing the spatial distribution
of UMI counts across the provided SpatialExperiment object. Each
point on the plot corresponds to a spatial location, colored by
the number of UMIs.