fixedGroup {MSstatsPTM}R Documentation

Linear model with group effect

Description

fixedGroup fits and returns a linear model with group as a fixed effect.

Usage

fixedGroup(df)

Arguments

df

A data frame with columns log2inty and group for one PTM site.

Value

An lm model object.

Examples

x <- data.frame(
    group=rep(c("1", "2"), 3),
    log2inty=rep(c(10, 12), 3) + rnorm(6)
)
fixedGroup(x)


[Package MSstatsPTM version 1.0.0 Index]