showPattern2D#
Last Updated: Jan 14, 2025
Description#
show patterns for 2D spatial data
Usage#
showPattern2D(
gobject,
spatPatObj,
dimension = 1,
trim = c(0.02, 0.98),
background_color = "white",
grid_border_color = "grey",
show_legend = T,
point_size = 1,
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "showPattern2D"
)
Arguments#
|
giotto object |
|
Output from detectSpatialPatterns |
|
dimension to plot |
|
Trim ends of the PC values. |
|
background color for plot |
|
color for grid |
|
show legend of ggplot |
|
size of points |
|
show plot |
|
return ggplot object |
|
directly save the plot [boolean] |
|
list of saving parameters, see
|
|
default save name for saving, don’t change, change save_name in save_param |
Value#
ggplot