Unify the protein group labels (2/ProteinA/ProteinB and 2/ProteinB/ProteinA) to one common label (e.g. 2/ProteinA/ProteinB)

unifyProteinGroupLabels(data, column = "ProteinName")

Arguments

data

A data frame containing SWATH data.

column

Which column to use for unifying the protein group identifiers.

Value

Returns a data frame with the unififed protein labels.

Author

Moritz Heusel

Examples

 data("OpenSWATH_data", package="SWATH2stats")
 data("Study_design", package="SWATH2stats")
 data <- sample_annotation(OpenSWATH_data, Study_design)
 data.filtered.decoy <- filter_mscore(data, 0.01)
#> Dimension difference: 931, 0
 data.unified <- unifyProteinGroupLabels(data.filtered.decoy)