aggregateMean {DAPAR} | R Documentation

## Compute the intensity of proteins as the mean of the intensities of their peptides.

### Description

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

### Usage

    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

    require(DAPARdata)
    data(Exp1_R25_pept)
    obj.pep <- Exp1_R25_pept[1:1000]
    protID <- "Protein.group.IDs"
    X <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
    aggregateMean(obj.pep, X)

[Package DAPAR version 1.14.5 Index]