egeulgen / pathfindR

pathfindR: Enrichment Analysis Utilizing Active Subnetworks
https://egeulgen.github.io/pathfindR/
Other
178 stars 25 forks source link

run_pathfindR error: helvetica #117

Closed adamxmiranda closed 2 years ago

adamxmiranda commented 2 years ago

Hi. I'm trying to run the run_pathfindR() but keep running into an error when it tries to generate the plots:

`Saving colored pathway diagrams of 10 KEGG pathways

| | 0% Error in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)): R: unable to read font helvetica' @ error/annotate.c/RenderFreetype/1474 Traceback:

From some searching around I think this has something to do with the magick imaging, but I have no idea how to remedy this specific issue. Any help you can provide will be much appreciated.

egeulgen commented 2 years ago

Hey,

Installing the Helvetica font should resolve the issue. If it persists, please open an issue on the magick repo

You may also disable these plots by setting visualize_enriched_terms =FALSE when running run_pathfindR()

Best, -E