Maaslin not the same results as spearman!

I have an inquiry concerning the results of Maaslin2. I have split the metadata into categories to be able to correlate the BMI with the different taxonomic levels.
this is my command for Maaslin2:
fit_data_L7_GenderGEOGROUPAGE_8_nomaxsig<- Maaslin2( Metadata_combinations2_L7_MaAslin_R_Taxonomy[,-1], Metadata_combinations2_L7_GenderGEOGROUPAGE_Maaslin_male_ismailia_nonobese_morethan5_vs_male_ismailia_obese_morethan5[,-1], output = ‘demo_output_L7_GenderGEOGROUPAGE_8_nomaxsig’)
I have attached my input files and the significant results:




However, when I started a spearman correlation analysis, I have got completely opposite results; example
As per Maaslin2, Cyanobacteria gives the coeef. -5.2 in the male obese population.
As I understand, this means it exists in higher abundance in the non-obese male population. (Correct me if I am mistaken please)
However, as per spearman correlation analysis, Cyanobacteria is negatively correlated with BMI giving me a value of -0.41
this is my command for spearman correlation:
corr_L7_BMI ← cor(Metadata_combinations2_L7_Taxonomy_plus_BMIVALUE_AGE_transposed, method = “spearman”)
corr_L7_BMI_df ← as.data.frame(corr_L7_BMI)
corr_L7_BMI_pval ← cor_pmat(corr_L7_BMI_df), knowing that my input file for the correlation looks like the attached file below:

N.B: all of the results generated from Maaslin2 and spearman correlation are the opposite.

Regards,
Nada Ezz

It could be related to how you discretized your nonobese vs obese categories, how Maaslin is handling 0’s, or any number of things. Before going further with computing statistics, you should make a plot of the variables in question. The website below gives a basic introduction to plotting in R - try to adapt the flipper vs body mass example and make a plot of BMI vs Cyanobacteria. That should give you some insight into where the inconsistency is coming from.

https://r4ds.hadley.nz/data-visualize.html