Closed scilexenko closed 3 months ago
Hello, I'm having the exact same issue running the example data. Please let me know if you manage to fix it. Cheers, Carolane
Having the same issue on my own data, please give an update.
Cheers, Katie
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:
install.packages("ggplot2", version = "3.4.0")
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, Chen YANG
Just ran into this issue on SO: https://stackoverflow.com/q/78146457/11374827. Problem is described here: https://github.com/csdaw/ggprism/issues/26#issuecomment-1991740436
Hi Teun,
Thank you for sharing the link. It seems that the issue is indeed related to the legend.text.align
theme element in ggprism, as described in the Stack Overflow post and the ggprism GitHub issue. I will update the code to address this problem. Thank you for bringing this to my attention!
Best, Caffery
Thank you for your answer. Indeed, downgrading ggplot2 helped. Cheers, Ivan
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 thepathway_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