Aggregate PSMs into Peptides
iwf_psm2pep.RdThis function aggregates Peptide-to-Spectrum Matches (PSMs) into peptides, selecting the best PSM score for each peptide and maintaining decoy information. Peptides that are present in both the target and decoy subsets are removed from the final results.
Value
A data.frame containing one row per unique peptide with columns:
peptideRefThe peptide identifier.
pepScoreThe best score for the peptide.
isDecoyA logical indicating whether the peptide belongs to the decoy set.
See also
iwf_load_psms for loading PSMs.