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
Hi, I'm trying to use DESeq2 because ALDEx2 is not running due to problems already reported here, but in the daa_results_df generation this error appears. Does anyone know what could I do to solve this? I already tried to remove columns/rows with full empty values, but in the pathway error bar plot that is generated, it misses log fold change and relative abundance information, with only the names of pathways and everything in the background blank.
Using column 'SampleID' as sample identifier
Running DESeq2 analysis...
converting counts to integer mode
converting counts to integer mode
Error in value[3L] :
DESeq2 analysis failed: every gene contains at least one zero, cannot compute log geometric means
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue with DESeq2 analysis in ggpicrust2. I apologize for the delayed response as I am currently preparing for finals.
I understand you're encountering the error "every gene contains at least one zero, cannot compute log geometric means" and having issues with the pathway visualization. This is an important technical issue that requires careful attention to resolve.
I will provide a detailed response after December 10th with:
The potential causes of this DESeq2 error
Recommended solutions and workarounds
Guidelines for proper data preprocessing
Alternative approaches if needed
Please expect a thorough technical solution from me next week.
Thank you for reporting this issue. I've analyzed the error and found that it's related to DESeq2's handling of zero counts in your dataset. Specifically, when all samples have at least one zero count for certain pathways, DESeq2 cannot compute log geometric means.
Here are several solutions you can try:
Pre-filter your data:
# Remove pathways that have zero counts in all sampleskegg_abundance<-kegg_abundance[rowSums(kegg_abundance) >0, ]
# Optional: Remove pathways with very low countsmin_count<-10# adjust this threshold as neededkegg_abundance<-kegg_abundance[rowSums(kegg_abundance) >=min_count, ]
Use alternative analysis methods:
a. Using "ALDEx2" (default method, more robust to zero counts):
Regarding the blank pathway error bar plot: This is because the differential analysis did not produce valid results. After applying one of the solutions mentioned above, the visualization should work properly.
Please let me know if you need any clarification or encounter other issues!
Hi, I'm trying to use DESeq2 because ALDEx2 is not running due to problems already reported here, but in the daa_results_df generation this error appears. Does anyone know what could I do to solve this? I already tried to remove columns/rows with full empty values, but in the pathway error bar plot that is generated, it misses log fold change and relative abundance information, with only the names of pathways and everything in the background blank.
daa_results_df <- pathway_daa(
abundance = kegg_abundance,
metadata = metadata,
group = "Diagnosis",
daa_method = "DESeq2"
)
Using column 'SampleID' as sample identifier
Running DESeq2 analysis...
converting counts to integer mode
converting counts to integer mode
Error in value[3L] :
DESeq2 analysis failed: every gene contains at least one zero, cannot compute log geometric means
The text was updated successfully, but these errors were encountered: