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

How can I change the width of each coloum in the heatmap in the treeplot? #274

Open
CyrusWang57 opened this issue May 8, 2024 · 0 comments

Comments

@CyrusWang57
Copy link

image
When there are many columns, colnames overlap easily.
And it seems that as there are more and more coloum, the width gets smaller and smaller, and all the columns are squeezed together.
As a result, the parameter setting of tiplab = rel(1) is not very reasonable. When there are few columns, the heatmap may overpower the enriched terms, and when there are many columns, the distance between the heatmap and the enriched terms will be very empty.
BP mergedgotree

This is the code for my drawing
p3 <- treeplot(merged, showCategory = 10, hilight.params = list(hilight = TRUE, align = "both"), offset.params = list(bar_tree = rel(1), tiplab = rel(1), extend = 0.3, hexpand = 0.1), cluster.params = list(method = "ward.D", n = 7, color = NULL, label_words_n = 4, label_format = 30), clusterPanel.params = list(clusterPanel = "heatMap")

Look forward to your reply! Thanks a lot!

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