| fixedGroupBatch {MSstatsPTM} | R Documentation |
fixedGroupBatch fits and returns a linear model with log2inty
as response, and group and batch as fixed effects.
fixedGroupBatch(df)
df |
A data frame with columns |
An lm model object.
x <- data.frame(
batch=rep(c("1", "2"), each=4),
group=rep(c("1", "2"), 4),
log2inty=rep(c(10, 12), 4) + rnorm(8)
)
fixedGroupBatch(x)