YuLab-SMU / enrichplot

Visualization of Functional Enrichment Result
https://yulab-smu.top/biomedical-knowledge-mining-book/
226 stars 65 forks source link

Treeplot labels not shown #236

Closed FrankStarling closed 1 year ago

FrankStarling commented 1 year ago

Hi,

The problem i am facing is that the treeplot does not have any labels. I have used treeplot on this same data before and it worked perfectly and sets were labeled. Now I cannot produce the plot with labels. Please let me know if I can provide anything else or if this issue has been brought up previously. Thanks. Also I know that treeplot is calling ggtree under the hood. The ggtree function geom_cladelab will add these labels. I have reinstalled enrichplot and ggtree to the latest releases. I have also tried the treeplot command with the various input arguments.

`ego3 <- gseGO(geneList = geneList, OrgDb = org.Hs.eg.db, keyType = "SYMBOL", ont = "ALL", minGSSize = 100, maxGSSize = 500, pvalueCutoff = 0.05, verbose = FALSE)

dotplot(ego3, showCategory=10, split=".sign") + facet_grid(.~.sign) ego3 <- enrichplot::pairwise_termsim(ego3) treeplot(ego3)`

image

FrankStarling commented 1 year ago

Now it is working fine. I apologize for raising the issue. I restarted R multiple times and nothing changed the first few times. Not sure what the issue was.