Thanks for maintaining this package. I am interested in the color setting in ComplexHeatmap. For example, I would like to use the brewer.pal(n = 7, name = "RdBu") as the color scale,
May I ask if how can we can configure col_fun to make the color scale the same as brewer.pal(n = 7, name = "RdBu")?
I also have another question about plotting heatmap with a huge matrix, for example the Hi-C contact matrix or the SNP-correlation matrix. With the number of features greater than 50k, It generally takes very very long to make a heatmaps in these settings. From some discussion on the github issue, it seems down-sampling is recommended to reduce the plotting time. But sometimes we might want to present the matrix as a whole, may I ask if you have any good suggestions/ideas for these high dimensional scenarios?
Dear Zuguang,
Thanks for maintaining this package. I am interested in the color setting in ComplexHeatmap. For example, I would like to use the
brewer.pal(n = 7, name = "RdBu")
as the color scale,and thus tried to set the color function as
However, I found
col_fun
doesn't necessarily give the original color (color code is similar e.g. "#B2182B" vs "#B2182BFF", but the color is different)May I ask if how can we can configure
col_fun
to make the color scale the same asbrewer.pal(n = 7, name = "RdBu")
?I also have another question about plotting heatmap with a huge matrix, for example the Hi-C contact matrix or the SNP-correlation matrix. With the number of features greater than 50k, It generally takes very very long to make a heatmaps in these settings. From some discussion on the github issue, it seems down-sampling is recommended to reduce the plotting time. But sometimes we might want to present the matrix as a whole, may I ask if you have any good suggestions/ideas for these high dimensional scenarios?
Thanks!