unifyProteinGroupLabels: Unify the protein group labels.

View source: R/unifyProteinGroupLabels.R

unifyProteinGroupLabelsR Documentation

Unify the protein group labels.

Description

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

Usage

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(s)

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)
 data.unified <- unifyProteinGroupLabels(data.filtered.decoy)

peterblattmann/SWATH2stats documentation built on July 2, 2023, 9:42 p.m.