dbGetMassSpectrumItems: get the MassSpectrumItems info from (a set of) PeptideID's

View source: R/proteinDatabase.R

dbGetMassSpectrumItemsR Documentation

get the MassSpectrumItems info from (a set of) PeptideID's

Description

get the MassSpectrumItems info from (a set of) PeptideID's

Usage

dbGetMassSpectrumItems(db, dbDetail = NA, peptideID, SQL = FALSE)

Arguments

db

database access 'handle' (to the .pdResult file)

dbDetail

database access 'handle' to the details file (.pdResultDetails). This is needed for at least Proteome Discover 3.1, since the "MassSpectrumItems" table is located in a different file than the e.g. the psm table. Note that if the 'SQL' parameter is set to TRUE, the function will only return the last SQL query (querying the .pdResultDetails table).

peptideID

the PeptideID's usually come from the PSMS table Table. This can be in numeric/character/data.frame format

SQL

allows the function to return the SQL query statement in stead of a data.frame

Value

a data.frame containing requested data from the MassSpectrumItems table or a character string specifying an SQL query


BenBruyneel/proteinDiscover documentation built on March 16, 2024, 4:36 p.m.