Got the negative value when used ComBat to Adjust batch effects
2
0
Entering edit mode
4.4 years ago
zhao03 ▴ 70

Hi, i used combat to remove the batch bais, however, there are some negative numbers in the result matrix. what is the means of those negative number, can i use this matrix to find the different gene?

i inputted FPKM for running combat.

the command is

combat_edata1 = ComBat(dat=edata, batch=batch, mod=NULL, par.prior=TRUE, prior.plots=FALSE)

thank you

R software error • 1.8k views
ADD COMMENT
0
Entering edit mode
4.1 years ago
ATpoint 85k

This is normal and expected for genes with low counts, you cannot avoid this. combat was developed for arrays, not counts back in the day. Alternatively, use ComBat-Seq from the sva package on the raw counts to remove the batch and then normalized these data. This will preserve the integer-nature of the counts and will not produce negative values.

ADD COMMENT

Login before adding your answer.

Traffic: 1773 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