Open antonkratz opened 8 months ago
Dear Anton,
Thank you for reaching out and providing detailed information about the issues you're encountering with ggpicrust2. It seems like there might be some inconsistencies or specific characteristics in your data that are causing these errors.
To better assist you, would it be possible for you to send your data (both the metadata and abundance data) to my email at cafferychen7850@gmail.com? This will allow me to take a closer look and potentially identify the root cause of the problems.
Please ensure that any sensitive information is removed or anonymized before sending the data. I appreciate your cooperation and look forward to helping you resolve these issues.
Best regards, Caffery Yang
Dear @antonkratz,
Thank you for your patience. After reviewing your data and the errors you encountered, I have identified a solution for the issues you reported with ggpicrust2.
Regarding the "‘round’ not meaningful for factors" error, it seems like this issue is related to the ALDEx2 method. As a temporary workaround, you could try using a different differential abundance analysis (DAA) method, such as "DESeq2" or "edgeR", to see if the issue persists. Alternatively, you could try the solution provided by another user, which involves installing an older version of ALDEx2 (v.1.28) from the Bioconductor archive.
Please try these suggestions and let me know if they resolve the issues. If you continue to encounter problems, feel free to reach out again, and I'll be happy to assist further.
Best regards, Caffery Yang
Thank you for your quick reply!
The error occurs with ALDEx2_1.34.0 but also with ALDEx2_1.28.0.
Howdy all, been trying to resolve a round error "not meaningful for factors" myself and have had no luck. My group is indeed characters and not factors. Using ALDEx2 v 1.37.0 and 1.36.0 the issue still arises. Interestingly, when I have ran a ALDEx2 analysis outside of ggpicrust2 I did not have this error. Going to ditch ALDEx2 (bummer) here as there isn't a solid solution and move on to DESeq2 (given #56, #67, #107). If I'm reading the comment above correctly, v.1.28.0 still produces the error... is this correct? I would rather make progress trying the ggpicrust2 suggested pipeline than troubleshooting version errors.
I can run ggpicrust2 with the provided example data (but not plot it, made a separate entry for that #101) but I am struggling to get it work with my own data.
Here is my code
However this to
Error in
[.data.frame(daa_results_df, , x_lab) : undefined columns selected
!Therefore, I follow the step-by-step approach, start a new R session, load the same libraries and then:
Which results in:
I made extra sure that the entries in metadata, first column, precisely match the column names of the actual data frame
Please help.
I am using R version 4.3.1