neurorestore / Libra

MIT License
153 stars 25 forks source link

Question for the results of singlecell::MAST #63

Open yecotoo opened 1 month ago

yecotoo commented 1 month ago

Hello! There is a problem and I don't know why. I used Singlecell::NAST to find the DEGs between group A and B and found something curious and confused. How the avg_logFC of gene CD34 is > 0 (cause A.pct < B.pct and A.exp < B.exp)? I'm sure I have set the group B as the control. some gene show the right trend such as 1110004E09Rik. I wonder what makes it happen? Is the code wrong. Please help me. Thanks!

gene avg_logFC A.pct B.pct A.exp B.exp
CD34 0.016416362 0.281 0.407 0.38410596 0.544973545
-- -- -- -- --
1110004E09Rik -0.612574252 0.04 0.063 0.043046358 0.063492063
-- -- -- -- -- --