Visualize cells and gene expression in a virtual cross section according to spatial coordinates
insertCrossSectionFeatPlot3D(
gobject,
spat_unit = NULL,
feat_type = NULL,
spat_loc_name = "raw",
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 = FALSE,
axis_scale = c("cube", "real", "custom"),
custom_ratio = NULL,
show_plot = NULL,
return_plot = NULL,
save_plot = NULL,
save_param = list(),
default_save_name = "spatGenePlot3D_with_cross_section",
...
)
giotto object
spatial unit
feature type
name of spatial locations
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
logical. directly save the plot
list of saving parameters from GiottoVisuals::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.