zhouhj1994 / LinDA

35 stars 3 forks source link

Doubt interpreting log2 #8

Open Anaherasm opened 1 year ago

Anaherasm commented 1 year ago

Hello,

First, thank you for developint this program. I am having some doubts about interpreting the log2ratio. How can I know the group in which each ASV is more abundant? I have two pig genotypes: IBxIB and IBxLW. When I use the function names, it is IbxLW the one that appears, so maybe that means that a positive log2 refers to that group?

Thank you, Ana

zhouhj1994 commented 1 year ago

Hi,

For categorical variable, the program automatically sets the reference level according to the alphabetizing rule. So, IBxIB is the reference level, and IBxLW will be the one that appears. The "log2FoldChange" value in the output means that comparing to the IBxIB group, the log2 transformed abundance in IBxLW group increases the amount of "log2FoldChange".

Thanks.

Anaherasm commented 1 year ago

Hello,

Thank you very much for your kind answer. It was my first time attemting LinDA and I wanted to be sure when interpreting the results.

Yours faithfully, Ana

zhouhj1994 commented 1 year ago

No problem.