-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with pathway_errorbar : "The legend.text.align
theme element is not defined in the element hierarchy."
#94
Comments
Hello, |
Having the same issue on my own data, please give an update. Cheers, |
Dear users, Thank you for bringing this issue to our attention. The error you encountered with the pathway_errorbar function is caused by a recent update in the ggplot2 package. The legend.text.align theme element is not defined in the current version of ggplot2, which leads to the error message you received. To resolve this issue, please downgrade your ggplot2 package to version 3.4.0. You can do this by running the following command in your R console:
After downgrading ggplot2, the pathway_errorbar function should work as expected without any errors related to the legend.text.align theme element. We apologize for any inconvenience caused by this issue. We are working on updating our package to ensure compatibility with the latest version of ggplot2. In the meantime, downgrading to ggplot2 3.4.0 should allow you to use the pathway_errorbar function without any problems. If you have any further questions or concerns, please don't hesitate to reach out to us. Best regards, |
Just ran into this issue on SO: https://stackoverflow.com/q/78146457/11374827. |
Hi Teun, Thank you for sharing the link. It seems that the issue is indeed related to the Best, |
Thank you for your answer. Indeed, downgrading ggplot2 helped. |
Hello @cafferychen777,
I was trying to use your package for PICRUST2 data visualization, but I encounter some problems.
I have an issue with pathway_errorbar function. It simply doesn't work.
Here is my code :
I think it's link to the packages version or something.. I reinstalled
ggpicrust2
,patchwork
andggprism
, but it didn't help. I had the impression that there was some conflict betweenggplot
andggprism
, but deactivation ofggprism
changed nothing.Interestingly, when I tried to launch the
pathway_errorbar
without xlab, the issue changes its natureHere is my system info, if you need:
Here is a screenshot of
daa_annotated_sub_method_results_df_f
file that I'm trying to viz :And here is a snapshot of my metadata :
I hope that you can help me!
Thank you in advance.
Cheers
Ivan
The text was updated successfully, but these errors were encountered: