Skip to content

Error with groupComparisonLiP function #36

@jazzminda

Description

@jazzminda

Hi MSstatsLiP-Team,

I have encountered an error when I use your package to build the adjusted model using the LiP and Trp datasets from the Spectronaut analysis with the groupComparisonLiP function.

The error arises with this line of code inside the function (in the MSstatsGroupComparisonOutput function):

list(ComparisonResult = as.data.frame(comparisons)[, cols], ModelQC = as.data.frame(qc), 
    FittedModel = fitted_models)

with the following error:

Error in [.data.frame(as.data.frame(comparisons), , cols) :
undefined columns selected

Apparently, the comparisons dataframe for the protein adjustment contains less variables (8) than it should.
Since this error doesn't arise when I use the data from your publication (Malinovska et al., 2023), I assume it must be something with my Trp dataset input which causes the error but I can't find what it is.

Do you have a tip for me what I would need to change in my data input?
I am using the LiP-MS analysis for a far less complex set-up (only three proteins in different combinations) than in your dataset. Might that be a problem?

Thank you in advance,
Jasmin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions