jokergoo / ComplexHeatmap

Make Complex Heatmaps
https://jokergoo.github.io/ComplexHeatmap-reference/book/
Other
1.29k stars 225 forks source link

Change pch size and color in legend #1163

Open dcarbajo opened 7 months ago

dcarbajo commented 7 months ago

Given a simple legend with a pch inside, of the form:

lgd_sig <- ComplexHeatmap::Legend(pch = "*", type = "points", labels = "< 0.05",
                                  title_gp = grid::gpar(fontsize = 14), labels_gp = grid::gpar(fontsize = 14),
                                  grid_width = grid::unit(0.25, "inch"))

Is there something like pch_gp to manipulate the size and color of the "*" in the same way as with the title and labels? Thanks!