aggregateSum: Compute the intensity of proteins with the sum of the...

View source: R/agregation.R

aggregateSumR Documentation

Compute the intensity of proteins with the sum of the intensities of their peptides.

Description

This function computes the intensity of proteins based on the sum of the intensities of their peptides.

Usage

aggregateSum(obj.pep, X)

Arguments

obj.pep

A matrix of intensities of peptides

X

An adjacency matrix in which lines and columns correspond respectively to peptides and proteins.

Value

A matrix of intensities of proteins

Author(s)

Alexia Dorffer

Examples

library(MSnbase)
utils::data(Exp1_R25_pept, package='DAPARdata')
obj.pep <- Exp1_R25_pept[1:20]
obj.pep.imp <- wrapper.impute.detQuant(obj.pep, na.type='missing')
protID <- obj.pep@experimentData@other$proteinId
X <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
ll.agg <- DAPAR::aggregateSum(obj.pep.imp, X)


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.