Comparative Scatterplot of Two SpatialExperiments
plot_scatter.Rd
Creates a scatterplot to compare deconvolution results between two SpatialExperiment objects.
Usage
plot_scatter(
spe1,
value1,
spe2,
value2,
log_scale = FALSE,
dot_color = "#1f77b4",
point_alpha = 0.8,
fix_coords = FALSE,
coord_range = NULL,
title = "Comparative Scatterplot"
)
Arguments
- spe1
First SpatialExperiment object.
- value1
Deconvolution result to plot from the first object.
- spe2
Second SpatialExperiment object.
- value2
Deconvolution result to plot from the second object.
- log_scale
Logical, whether to use log scale for axes.
- dot_color
Color for the dots in the plot.
- point_alpha
Alpha for the dots, controlling transparency.
- fix_coords
Logical, whether to fix coordinate system to be equal.
- coord_range
Numeric vector of length 2 to set coordinate limits.
- title
Title of the plot.