Skip to content

Issues running Spectronaut data from MSstatsPTM LabelFree Workflow Vignette #132

Description

@joreynajr

Hi,

I cloned this repo and updated the MSstatsPTM LabelFree Workflow Vignette so that this:

msstats_input = SpectronauttoMSstatsPTMFormat(spectronaut_input, 
                  annotation=spectronaut_annotation, 
                  fasta_path=system.file("extdata", "spectronaut_fasta.fasta", 
                                         package="MSstatsPTM"),
                  use_unmod_peptides=TRUE,
                  mod_id = "\\[Phospho \\(STY\\)\\]",
                  fasta_protein_name = "uniprot_iso"
                  )

Becomes the input of:

MSstatsPTM.summary = dataSummarizationPTM(msstats_input , verbose = FALSE, 
                                          use_log_file = FALSE, append = FALSE)

However, when I do this, both of the following fail:

dataProcessPlotsPTM(MSstatsPTM.summary,
                    type = 'QCPLOT',
                    which.PTM = "allonly",
                    address = FALSE)

# I don't understand this error
Error in if (unique(datafeature$LABEL) == "L") { : 
  argument is of length zero
Error during wrapup: not that many frames on the stack
Error: no more error handlers available (recursive errors?); invoking 'abort' restart

and

dataProcessPlotsPTM(MSstatsPTM.summary,
                    type = 'ProfilePlot',
                    which.Protein = "Q9Y6C9",
                    address = FALSE)

# this should exist, I checked the summary object for it 
Error in .profile.lf(data.table.list, type, ylimUp, ylimDown, x.axis.size, :
Please check protein name. Dataset does not
have this protein. - P36578 

I appreciate your help as I'm trying to run MSstatsPTM for data generated by Spectronaut.

Note: all other functions work.

Joaquin

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