View source: R/spatial_interaction_visuals.R
cellProximityVisPlot_2D_ggplot | R Documentation |
Visualize 2D cell-cell interactions according to spatial coordinates in ggplot mode
cellProximityVisPlot_2D_ggplot(
gobject,
interaction_name = NULL,
cluster_column = NULL,
sdimx = NULL,
sdimy = NULL,
cell_color = NULL,
cell_color_code = NULL,
color_as_factor = T,
show_other_cells = F,
show_network = F,
show_other_network = F,
network_color = NULL,
spatial_network_name = "Delaunay_network",
show_grid = F,
grid_color = NULL,
spatial_grid_name = "spatial_grid",
coord_fix_ratio = 1,
show_legend = T,
point_size_select = 2,
point_select_border_col = "black",
point_select_border_stroke = 0.05,
point_size_other = 1,
point_alpha_other = 0.3,
point_other_border_col = "lightgrey",
point_other_border_stroke = 0.01,
...
)
Description of parameters.
ggplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.