aggregateTopn: Compute the intensity of proteins as the sum of the...

View source: R/agregation.R

aggregateTopnR 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

aggregateTopn(obj.pep, X, method = "Mean", n = 10)

Arguments

obj.pep

A matrix of intensities of peptides

X

An adjacency matrix in which lines and columns correspond respectively to peptides and proteins.

method

xxx

n

The maximum number of peptides used to aggregate a protein.

Value

A matrix of intensities of proteins

Author(s)

Alexia Dorffer, Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DaparToolshedData")
obj.pep <- Exp1_R25_pept[seq_len(10)]
protID <- "Protein_group_IDs"
X <- BuildAdjacencyMatrix(obj.pep, protID, FALSE)
ll.agg <- aggregateTopn(obj.pep, X, n = 3)


samWieczorek/DAPAR2 documentation built on Oct. 15, 2023, 1:45 p.m.