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
Dear Dr. Chen:
When trying to follow the tutorial (If an error occurs with ggpicrust2, please use the following workflow)
using sample data download from google link
Sample names extracted.
Identifying matching columns in metadata...
Matching columns identified: sample_name . This is important for ensuring data consistency.
Using all columns in abundance.
Converting abundance to a matrix...
Reordering metadata...
Converting metadata to a matrix and data frame...
Extracting group information...
Running ALDEx2 with two groups. Performing t-test...
Error in Math.factor(c(1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 1L, :
‘round’ not meaningful for factors
Please help, Thanks.
The text was updated successfully, but these errors were encountered:
Thank you for reaching out regarding the error you encountered while following the tutorial for ggpicrust2. I understand the frustration of running into issues during the analysis process.
Based on the error message you provided, it appears that the issue is related to the ALDEx2 package, specifically the 'round' function not being compatible with factors. This problem has been reported by several users, as seen in the previous GitHub issues #67 and #102.
To resolve this issue, I recommend the following workaround:
Remove the currently installed version of ALDEx2 using the command:
remove.packages("ALDEx2")
Dear Dr. Chen:
When trying to follow the tutorial (If an error occurs with ggpicrust2, please use the following workflow)
using sample data download from google link
metadata <- read_delim("/Downloads/metadata.txt", delim = "\t", escape_double = FALSE, trim_ws = TRUE)
kegg_abundance <- ko2kegg_abundance("/Downloads/ko_abundance.tsv")
daa_results_df <- pathway_daa(abundance = kegg_abundance, metadata = metadata, group = "Environment", daa_method = "ALDEx2", select = NULL, reference = NULL)
got an error as follow
Sample names extracted.
Identifying matching columns in metadata...
Matching columns identified: sample_name . This is important for ensuring data consistency.
Using all columns in abundance.
Converting abundance to a matrix...
Reordering metadata...
Converting metadata to a matrix and data frame...
Extracting group information...
Running ALDEx2 with two groups. Performing t-test...
Error in Math.factor(c(1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 1L, :
‘round’ not meaningful for factors
Please help, Thanks.
The text was updated successfully, but these errors were encountered: