Visualize 2D cell-cell interactions according to spatial coordinates in ggplot mode
cellProximitySpatPlot(gobject, ...)giotto object
Arguments passed on to cellProximitySpatPlot2D
spat_loc_namespatial locations to use
interaction_namecell-cell interaction name
cluster_columncluster column with cell clusters
sdimxx-axis dimension name (default = 'sdimx')
sdimyy-axis dimension name (default = 'sdimy')
show_other_cellsdecide if show cells not in network
show_networkshow spatial network of selected cells
show_other_networkshow spatial network of not selected cells
network_colorcolor of spatial network
show_gridshow spatial grid
grid_colorcolor of spatial grid
spatial_grid_namename of spatial grid to use
coord_fix_ratiofix ratio between x and y-axis
point_size_selectsize of selected points
point_select_border_colborder color of selected points
point_select_border_strokestroke size of selected points
point_size_othersize of other points
point_alpha_otheropacity of other points
point_other_border_colborder color of other points
point_other_border_strokestroke size of other points
spat_unitspatial unit (e.g. "cell")
feat_typefeature type (e.g. "rna", "dna", "protein")
show_plotlogical. show plot
return_plotlogical. return ggplot object
save_plotlogical. save the plot
save_paramlist of saving parameters, see
showSaveParameters
default_save_namedefault save name for saving, don't change, change save_name in save_param
cell_colorcharacter. what to color cells by (e.g. metadata col or spatial enrichment col)
color_as_factorlogical. convert color column to factor. discrete colors are used when this is TRUE. continuous colors when FALSE.
cell_color_codecharacter. discrete colors to use. palette to use or named vector of colors
spatial_network_namename of spatial network to use
show_legendlogical. show legend
ggplot
Description of parameters.
cellProximitySpatPlot2D and
cellProximitySpatPlot3D for 3D