Aggregate PSMs into Peptides
iwf_psm2pep.Rd
This 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:
peptideRef
The peptide identifier.
pepScore
The best score for the peptide.
isDecoy
A logical indicating whether the peptide belongs to the decoy set.
See also
iwf_load_psms for loading PSMs.