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
I am having difficulties running ggpicrust2() on my own data but also on your test-datasets. The error message is: Error in x[, ii] : subscript out of bounds.
This is the output: Starting the ggpicrust2 analysis...
Converting KO to KEGG...
Processing provided data frame...
Loading KEGG reference data. This might take a while...
Performing KO to KEGG conversion. Please be patient, this might take a while...
|===========================================================================================| 100%
KO to KEGG conversion completed. Time elapsed: 0.02 seconds.
Removing KEGG pathways with zero abundance across all samples...
KEGG abundance calculation completed successfully.
Performing pathway differential abundance analysis...
Using column 'sample_name' as sample identifier
Running LinDA analysis...
Error in x[, ii] : subscript out of bounds
To find out more about the problem I started to run it step by step on the test dataset.
successfuly generates the variable kegg_abundance but with 0 observations of 50 variables, which is basically an empty dataframe: Processing provided data frame...
Loading KEGG reference data. This might take a while...
Performing KO to KEGG conversion. Please be patient, this might take a while...
|===========================================================================================| 100%
KO to KEGG conversion completed. Time elapsed: 0.10 seconds.
Removing KEGG pathways with zero abundance across all samples...
KEGG abundance calculation completed successfully.
Thank you for reporting this issue and providing such detailed information about the error you're encountering. I recently resolved a similar issue about an hour ago and pushed an update to address this problem.
Could you please try the following steps:
Update your ggpicrust2 package to the latest version:
Restart your R session and try running your analysis again.
If you're still experiencing the "subscript out of bounds" error after updating, please let me know, and I'll conduct additional testing to identify the root cause.
For reference, could you also confirm your package version after updating by running:
packageVersion("ggpicrust2")
Please don't hesitate to reach out if the issue persists.
Hello Dr. Yang, how are you?
MacOS Sequoia 15.1.1
R 4.4.2
ggpicrust2 1.7.4
I am having difficulties running ggpicrust2() on my own data but also on your test-datasets. The error message is:
Error in x[, ii] : subscript out of bounds.
The code was cp from here:
This is the output:
Starting the ggpicrust2 analysis...
Converting KO to KEGG...
Processing provided data frame...
Loading KEGG reference data. This might take a while...
Performing KO to KEGG conversion. Please be patient, this might take a while...
|===========================================================================================| 100%
KO to KEGG conversion completed. Time elapsed: 0.02 seconds.
Removing KEGG pathways with zero abundance across all samples...
KEGG abundance calculation completed successfully.
Performing pathway differential abundance analysis...
Using column 'sample_name' as sample identifier
Running LinDA analysis...
Error in x[, ii] : subscript out of bounds
To find out more about the problem I started to run it step by step on the test dataset.
successfuly generates the variable kegg_abundance but with 0 observations of 50 variables, which is basically an empty dataframe:
Processing provided data frame...
Loading KEGG reference data. This might take a while...
Performing KO to KEGG conversion. Please be patient, this might take a while...
|===========================================================================================| 100%
KO to KEGG conversion completed. Time elapsed: 0.10 seconds.
Removing KEGG pathways with zero abundance across all samples...
KEGG abundance calculation completed successfully.
Running the next step
generates the error:
Using column 'sample_name' as sample identifier
Running LinDA analysis...
Error in x[, ii] : subscript out of bounds
Could you please help me fixing this?
The text was updated successfully, but these errors were encountered: