Visualize Mesh-Grid Lines With Cells

insertCrossSectionSpatPlot3D()

Visualize the meshgrid lines of cross section together with cells.

insertCrossSectionSpatPlot3D(
    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,
    default_save_name = "spat3D_with_cross_section",
    ...
)

Arguments

gobject

giotto object

crossSection_obj

cross section object as alternative input. default = NULL.

name

name of virtual cross section to use

spatial_network_name

name of spatial network to use

mesh_grid_color

color for the meshgrid lines

mesh_grid_width

width for the meshgrid lines

mesh_grid_style

style for the meshgrid lines

sdimx

x-axis dimension name (default = ‘sdimx’)

sdimy

y-axis dimension name (default = ‘sdimy’)

sdimz

z-axis dimension name (default = ‘sdimy’)

show_other_cells

display not selected cells

axis_scale

axis_scale

custom_ratio

custom_ratio

default_save_name

default save name for saving, don’t change, change save_name in save_param

parameters for spatPlot3D()

Value

A ggplot.

Details

Description of parameters …