Skip to content
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

# Perform pathway DAA using ALDEx2 method not working with example dataset #116

Open
JayalalKJ opened this issue Aug 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JayalalKJ
Copy link

JayalalKJ commented Aug 21, 2024

Describe the Bug

Reproducible Example
Please provide a minimal reproducible example using reprex::reprex(). This will help us understand and fix the issue faster. If possible, include a small sample of your data or use example data to demonstrate the error.

"error occurs on this command"

# Perform pathway DAA using ALDEx2 method
daa_results_df <- pathway_daa(abundance = ko_abundance %>% column_to_rownames("#NAME"), 
                              metadata = metadata, 
                              group = "Environment", 
                              daa_method = "ALDEx2", 
                              select = NULL, 
                              reference = NULL)

error

Error in Math.factor(c(1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 1L, : ‘round’ not meaningful for factors
6. | stop(gettextf("%s not meaningful for factors", sQuote(.Generic))) -- | --

Environment Information:

  • Operating System: Windows
  • R Version: R version 4.3.3 (2024-02-29 ucrt)
  • Package Version: ggpicrust2 Version: 1.7.3
image
@JayalalKJ JayalalKJ added the bug Something isn't working label Aug 21, 2024
@cafferychen777
Copy link
Owner

Dear @JayalalKJ,

Thank you for providing such a detailed description of the bug you're encountering, including the reproducible example and your environment information. This level of detail is extremely helpful in diagnosing the issue.

I believe the solution proposed in #67 might indeed resolve this issue.

Please try this modification and let me know if it resolves the issue. If you're still encountering problems, don't hesitate to provide more details or ask for further assistance.

Best regards,
Chen Yang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants