finalizeAggregation {DAPAR} | R Documentation

## Finalizes the aggregation process

### Description

Method to finalize the aggregation process

### Usage

    finalizeAggregation(obj.pep, pepData, protData, X)

### Arguments

`obj.pep` | A peptide object of class `MSnset`
`pepData` | xxxx
`protData` | xxxxx
`X` | An adjacency matrix in which lines and columns correspond respectively to peptides and proteins.

### Value

A protein object of class `MSnset`

### Author(s)

Samuel Wieczorek

### Examples

    require(DAPARdata)
    data(Exp1_R25_pept)
    obj.pep <- Exp1_R25_pept[1:1000]
    pepData <- 2^(Biobase::exprs(obj.pep))
    protID <- "Protein.group.IDs"
    X <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
    protData <- inner.mean(pepData,X)
    finalizeAggregation(obj.pep, pepData, protData, X)

[Package DAPAR version 1.16.11 Index]