ChiLiubio / microeco

An R package for data analysis in microbial community ecology
GNU General Public License v3.0
181 stars 55 forks source link

'No significant taxa' error message with trans_diff #322

Closed AmalHmaiss closed 1 month ago

AmalHmaiss commented 4 months ago

Hello, thank you for the package, it's really a good tool for begginers with R. I would like to create a correlation matrix between taxa abundance numbers and environmental conditions. For that, I'm using trans_diff, trans_env and cal_cor. The problem is when I try to create a trans_diff object with my data I get this error message: Capture d’écran 2024-02-16 121312

Thank you in advance for your help,

ChiLiubio commented 4 months ago

Hi. It show that no significant feature is found under current parameters setting. Please try to use alpha = 0.05.

AmalHmaiss commented 4 months ago

Thank you for your reply, I still receive the same error message :

Capture d’écran 2
ChiLiubio commented 4 months ago

This means there is actually no significantly differential taxa among the groups in "Origin".

AmalHmaiss commented 4 months ago

Hello, thank you again for your reply, I changed the group to sample ID and I still receive the same error message. Does this mean that I can't generate a correlation matrix between sample characteristics and the relative abundance of taxa using the microeco package? The main reason why I waunt to create a trans_diff object is to generate the correlation matrix ?Is there another way to visualize it ?

Capture d’écran 2024-02-17 222838

Thank you,

ChiLiubio commented 4 months ago

Hi. The trans_diff class and lefse method in it is used to find the differential features by lefse across all the taxonomic lineages. Given that no significant feature is found, the groups have no difference in terms of the taxa. You can also use other method in trans_diff class to try again.

AmalHmaiss commented 4 months ago

Thank you so much I changed the method to KW and it works now