YuLab-SMU / biomedical-knowledge-mining-book

:books: Biomedical knowledge mining using GOSemSim and clusterProfiler
https://yulab-smu.top/biomedical-knowledge-mining-book/
69 stars 27 forks source link

treeplot not working #28

Open mbasugit opened 5 months ago

mbasugit commented 5 months ago

I am trying to run the exact same code of treeplot from https://rdrr.io/github/GuangchuangYu/enrichplot/man/treeplot.html

But getting the following error

treeplot(ego2, showCategory = 10) ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. ! # Invaild edge matrix for . A is returned. Error in scale$guide == "none" : comparison (==) is possible only for atomic and list types