Skip to main content

read psm.tsv produced by FragPipe and convert into long format

Description

read psm.tsv produced by FragPipe and convert into long format

Usage

tidy_FragPipe_psm(
  psm_files,
  purity_threshold = 0.5,
  PeptideProphetProb = 0.9,
  abundance_threshold = 0,
  column_before_quants = c("Quan Usage", "Mapped Proteins"),
  aggregate = TRUE
)

Arguments

psm_files path(s) to psm.tsv file(s)
purity_threshold purity threshold default = 0.5
PeptideProphetProb default 0.9
abundance_threshold minimum abundance threshold
column_before_quants describes the last column before the quantitative values in FragPipe versions before 24 (not consistent across these versions), default "Quan Usage". From FragPipe 24 on the channels are the ‘Intensity <channel>’ columns and this is not used.
aggregate aggregate spectra to psm level

Value

A list with the long-format PSM data and expected peptide counts.