Skip to content

msqrobAggregate cannot handle models with only fixed effects #73

@cvanderaa

Description

@cvanderaa

Eg:

library(msqrob2)
data(pe)
pe <- msqrobAggregate(
    pe, i = "peptide", fcol = "Proteins", formula = ~ 1 + condition
)
Error in .local(object, ...) : Formula contains no random effects.

We should keep in mind that a model with only fixed effects makes no sense in most cases for msqrobAggregate and may hint towards a wrong model specification. However, I encounter the issue when refitting the models for one-hit wonder proteins (cf #68).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions