aggregateMean: Compute the intensity of proteins as the mean of the...

Description Usage Arguments Value Author(s) Examples

View source: R/agregation.R

Description

This function computes the intensity of proteins as the mean of the intensities of their peptides.

Usage

1
aggregateMean(obj.pep, X)

Arguments

obj.pep

A peptide object of class MSnset

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

1
2
3
4
5
6
7
8
## Not run: 
utils::data(Exp1_R25_pept, package='DAPARdata')
obj.pep <- Exp1_R25_pept[1:1000]
protID <- "Protein_group_IDs"
X <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
aggregateMean(obj.pep, X)

## End(Not run)

DAPAR documentation built on April 11, 2021, 6 p.m.