-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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