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

Gene Set Enrichment Analysis with ClusterProfiler-error #4

Open giorgiolivi opened 3 years ago

giorgiolivi commented 3 years ago

Dear All,

I am following the Induced GO DAG graph.

unfortunately, after copy the script: library(clusterProfiler) data(geneList, package="DOSE") de <- names(geneList)[abs(geneList) > 2] ego <- enrichGO(de, OrgDb = "org.Hs.eg.db", ont="BP", readable=TRUE)

library(enrichplot) goplot(ego)

I can't visualise the barplot(ego) or dotplot(ego) , but only the heatplot(ego2)

I have this weird error:
Error in farver::decode_colour(colors, alpha = TRUE, to = "lab", na_value = "transparent") : unused argument (na_value = "transparent")

Can you please tell me how to fix it? Kind Regards, Giorgio