CellChat
CellChat copied to clipboard
Title vs. legend name
Hi, thank you for this nice package!
I generated a heatmap using the following code:
netVisual_heatmap(
object = cellchat,
measure = "count",
# Darker color for interactions close to 0
color.heatmap = c("#f0f8ff", "#2166ac"),
title.name = glue("Number of interactions\n{cellchat_interactions_name}\n{cellchat_datatype_name}"),
font.size = 7,
color.use = palette_cellchat)
and this is the plot I got:
As you can see the title.name parameter changes both the title of the plot and the name of the legend. Is there a way to set them separately?
Thank you!