Skip to contents

This function processes peptide-to-protein group relationships by summarizing the number of discriminating and total peptides per protein, and then assigning peptides to their respective protein groups. Proteins within a group are ordered by the number of discriminating peptides, followed by the total number of peptides.

Usage

iwf_pep2group(pep2prot2group)

Arguments

pep2prot2group

A data frame containing peptide-to-protein-to-group relations, including peptideRef, proteinRef, groupRef, and peptideType.

Value

A data frame where peptides are assigned to protein groups, with additional columns:

  • proteinCount: The number of proteins in each group.

  • proteinRefs: A concatenation of all protein references in the group.

  • proteinMaster: The first protein of the group.

See also

iwf_grouping for generating peptide-to-protein-to-group relations, and panalyzer for protein grouping.