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")
A data frame containing SWATH data.
Which column to use for unifying the protein group identifiers.
Returns a data frame with the unififed protein labels.
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)