neurorestore / Libra

MIT License
153 stars 25 forks source link

Wrong avg_logFC? #69

Open JerryZhang-1222 opened 4 days ago

JerryZhang-1222 commented 4 days ago
image

Dear developer,

I've been using Libra for several projects and I noticed that the avg_logFC does not equal to log(group1.exp/grou2.exp).

It's also weird that in this screenshot, the first row, foldchange equals to 5.4788/1 while the second row equals to 1.9859155/0.3636364 = 5.461267, which is smaller. However, the logFoldchange of the second row is bigger than that in the first row.

I wonder how's that happened and how did foldchange been calculated? Thank you very much!

Best, Feiyang.