spatNetwDistributionsKneighbors#
Last Updated: Nov 17, 2023
Description#
This function returns a histogram displaying the number of k-neighbors distribution for each cell
Usage#
spatNetwDistributionsKneighbors(
gobject,
spat_unit = NULL,
spatial_network_name = "spatial_network",
hist_bins = 30,
show_plot = NA,
return_plot = NA,
save_plot = NA,
save_param = list(),
default_save_name = "spatNetwDistributionsKneighbors"
)
Arguments#
|
Giotto object |
|
spatial unit |
|
name of spatial network |
|
number of binds to use for the histogram |
|
show plot |
|
return ggplot object |
|
directly save the plot [boolean] |
|
list of saving parameters from
|
|
default save name for saving, alternatively change save_name in save_param |
Value#
ggplot plot