Learn R Programming

DAPAR (version 1.4.7)

TopnPeptides: 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

Examples

Run this code
data(UPSpep25)
protID <- "Protein.group.IDs"
matAdj <- BuildAdjacencyMatrix(UPSpep25, protID, FALSE)
TopnPeptides(matAdj, Biobase::exprs(UPSpep25), 3)

Run the code above in your browser using DataLab