removebatcheffect give same foldchange
1
1
Entering edit mode
6.7 years ago
skadum ▴ 30

Hello everybody,

I am using the removebatcheffect function with simulated dataset using rnorm in order to test it. So i have one experimental factor with two groups and one batch effect with 2 groups. The design is complet and balanced. The correction seems to work well when i visualizing data on boxplot before and after correction but i dont understand why fold-changes between my two experimental groups before and after are the sames.

I tried the function using only the batch argument and also with the design argument but fold-changes are the sames each time.

Did anybody observe this using these function ?

Thank you.

R limma • 1.4k views
ADD COMMENT
2
Entering edit mode
6.7 years ago
skadum ▴ 30

I think i found a solution to my problem in looking removebatcheffect function in details . The explication come from the experimental design: while my batch effect is balanced through the experimental factor, so the batch estimated variance quantity that is substracted to the original data is balanced too through samples. Therefore means would not change even if values are not the same. I thought i could have bigger foldchanges in removing the batch effect but that was wrong with this experimental design.


ADD COMMENT

Login before adding your answer.

Traffic: 1896 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6