Description Usage Arguments Details Value Examples
View source: R/spatial_interaction_visuals.R
Create heatmap from cell-cell proximity scores
1 2 3 4 5 6 7 8 9 10 11 12 13 |
gobject |
giotto object |
CPscore |
CPscore, output from cellProximityEnrichment() |
scale |
scale cell-cell proximity interaction scores |
order_cell_types |
order cell types based on enrichment correlation |
color_breaks |
numerical vector of length 3 to represent min, mean and maximum |
color_names |
character color vector of length 3 |
show_plot |
show plot |
return_plot |
return ggplot object |
save_plot |
directly save the plot [boolean] |
save_param |
list of saving parameters from |
default_save_name |
default save name for saving, don't change, change save_name in save_param |
This function creates a heatmap that shows the spatial proximity enrichment or depletion of cell type pairs.
ggplot heatmap
1 | cellProximityHeatmap(CPscore)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.