**0**wrote:

I know this question has been asked before, but even reading through older posts I cannot replicate the LogFC output in R.

design <- cbind(Grp1=1,Grp2vs1=c(0,0,0,1,1,1))

data <- 1:6

fit <- lmFit(data, design)

fit <- eBayes(fit)

topTable(fit, coef=2)

I get a LogFC of 3. Can you please show me how this is calculated? Thank you so much.