Open
Description
Hello,
Thank you for the useful package! I am trying to add heatmaps side by side with the +
function of ComplexHeatmap, but it doesn't work if it is more than 2 heatmaps
p_heatmap = heatmap(mtcars_tidy, `Car name`, Property, Value, scale = "row")
# works and throws the expected warning
p_heatmap + p_heatmap
#> Warning: Heatmap/annotation names are duplicated: Value
# gives an additional warning and an error
p_heatmap + p_heatmap + p_heatmap
#> Warning: Heatmap/annotation names are duplicated: Value
#> Warning: Incompatible methods ("+.AdditiveUnit", "+.InputHeatmap") for "+"
#> Error in p_heatmap + p_heatmap + p_heatmap : non-numeric argument to binary operator
is there a way to add more than 2 heatmaps side-by-side like in ComplexHeatmap?
Metadata
Metadata
Assignees
Labels
No labels