heatmSpatialCorFeats#

Date

2022-10-06

https://github.com/drieslab/Giotto/tree/suite/R/spatial_genes.R#L3678

Description#

Create heatmap of spatially correlated features

Usage#

heatmSpatialCorFeats(
  gobject,
  spatCorObject,
  use_clus_name = NULL,
  show_cluster_annot = TRUE,
  show_row_dend = T,
  show_column_dend = F,
  show_row_names = F,
  show_column_names = F,
  show_plot = NA,
  return_plot = NA,
  save_plot = NA,
  save_param = list(),
  default_save_name = "heatmSpatialCorFeats",
  ...
)

Arguments#

Argument

Description

gobject

giotto object

spatCorObject

spatial correlation object

use_clus_name

name of clusters to visualize (from clusterSpatialCorFeats())

show_cluster_annot

show cluster annotation on top of heatmap

show_row_dend

show row dendrogram

show_column_dend

show column dendrogram

show_row_names

show row names

show_column_names

show column names

show_plot

show plot

return_plot

return ggplot object

save_plot

directly save the plot [boolean]

save_param

list of saving parameters, see `showSaveP arameters <#showsaveparameters>`__

default_save_name

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

list()

additional parameters to the `Heatmap <#heatmap>`__ function from ComplexHeatmap

Value#

Heatmap generated by ComplexHeatmap