You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I successfully ran the plot_enrichment_detailed function a month ago using an annotation matrix for a metabolomics dataset. The output correctly labeled the significant metabolites.
Now, when I run the same code, the dots are no longer labeled:
I have run this on a separate dataset and still get unlabeled plots. I have tried uninstalling and re-installing the package but still no change. Might there be a bug?
The text was updated successfully, but these errors were encountered:
Summary: the issue is with ggrepel not working with coord_flip.
I had a similar problem, and found that the geom_text_repel function was not working after coord_flip, which is part of the plot_enrichment_detailed function. It seems this was an issue after geom_text_repel was updated recently (slowkow/ggrepel#253), but even though this change was reverted, I wasn't able to fix the issue by reinstalling the package.
I have ended up redefining the geom_text_repel function by copying the most recent version from the github into a script and then sourcing it at the start of my analysis, replacing the version of the geom_text_repel function with one that works with coord_flip.
Whilst my approach does work, it's messy. I'd suggest updating both MOFA2 and ggrepel functions and trying again!
Hi,
I successfully ran the plot_enrichment_detailed function a month ago using an annotation matrix for a metabolomics dataset. The output correctly labeled the significant metabolites.
Now, when I run the same code, the dots are no longer labeled:
I have run this on a separate dataset and still get unlabeled plots. I have tried uninstalling and re-installing the package but still no change. Might there be a bug?
The text was updated successfully, but these errors were encountered: