Creates heatmap based on identified clusters
giotto object
expression values to use
vector of genes to use, default to 'all'
name of column to use for clusters
correlation score to calculate distance
distance method to use for hierarchical clustering
show plot
return ggplot object
directly save the plot [boolean]
list of saving parameters, see showSaveParameters
default save name for saving, don't change, change save_name in save_param
additional parameters for the Heatmap function from ComplexHeatmap
ggplot
Correlation heatmap of selected clusters.
data(mini_giotto_single_cell)
#> Warning: data set ‘mini_giotto_single_cell’ not found
# cell metadata
cell_metadata = pDataDT(mini_giotto_single_cell)
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found
# create heatmap
showClusterHeatmap(mini_giotto_single_cell,
cluster_column = 'cell_types')
#> Error: package 'ComplexHeatmap' is not yet installed
#>
#> To install:
#> if(!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager');
#> BiocManager::install(c("ComplexHeatmap"))