Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pch size and color in legend #1163

Open
dcarbajo opened this issue Feb 15, 2024 · 0 comments
Open

Change pch size and color in legend #1163

dcarbajo opened this issue Feb 15, 2024 · 0 comments

Comments

@dcarbajo
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant