Visualize cells and gene expression in a virtual cross section according to spatial coordinates
insertCrossSectionGenePlot3D(
gobject,
crossSection_obj = NULL,
name = NULL,
spatial_network_name = "Delaunay_network",
mesh_grid_color = "#1f77b4",
mesh_grid_width = 3,
mesh_grid_style = "dot",
sdimx = "sdimx",
sdimy = "sdimy",
sdimz = "sdimz",
show_other_cells = F,
axis_scale = c("cube", "real", "custom"),
custom_ratio = NULL,
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "spatGenePlot3D_with_cross_section",
...
)
giotto object
cross section object as alternative input. default = NULL.
name of virtual cross section to use
name of spatial network to use
color for the meshgrid lines
width for the meshgrid lines
style for the meshgrid lines
x-axis dimension name (default = 'sdimx')
y-axis dimension name (default = 'sdimy')
z-axis dimension name (default = 'sdimy')
display not selected cells
axis_scale
custom_ratio
show plots
return ggplot object
directly save the plot [boolean]
list of saving parameters from all_plots_save_function
default save name for saving, don't change, change save_name in save_param
parameters for spatGenePlot3D
ggplot
Description of parameters.