TopnPeptides {DAPAR} | R Documentation

## Compute the intensity of proteins as the sum of the intensities of their n best peptides.

### Description

This function computes the intensity of proteins as the sum of the intensities of their n best peptides.

### Usage

    TopnPeptides(matAdj, expr, n)

### Arguments

`matAdj` | An adjacency matrix in which lines and columns correspond respectively to peptides and proteins.
`expr` | A matrix of intensities of peptides
`n` | The maximum number of peptides used to aggregate a protein.

### Value

A matrix of intensities of proteins

### Author(s)

Alexia Dorffer

### Examples

    require(DAPARdata)
    data(Exp1_R25_pept)
    protID <- "Protein.group.IDs"
    matAdj <- BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], protID, FALSE)
    TopnPeptides(matAdj, Biobase::exprs(Exp1_R25_pept[1:1000]), 3)

[Package DAPAR version 1.10.4 Index]