Learn R Programming

DAPAR (version 1.4.7)

pepAgregateSpeedUp: Function agregate peptides to proteins

Description

Method to agregate with a method peptides to proteins on a MSnSet object (peptides)

Usage

pepAgregateSpeedUp(obj.pep, protID, method = "sum overall", matAdj = NULL, n = NULL)

Arguments

obj.pep
An object (peptides) of class MSnbase.
protID
The name of proteins ID column
method
The method used to aggregate the peptides into proteins. Values are "sum", "mean" or "sum on top n" : do the sum / mean of intensity on all peptides belonging to proteins. Default is "sum"
matAdj
An adjacency matrix
n
The number of peptides considered for the aggregation.

Value

An object of class MSnbase with proteins

Examples

Run this code
data(UPSpep25)
protID <- "Protein.group.IDs"
mat <- BuildSparseAdjacencyMatrix(UPSpep25, protID, TRUE)
pepAgregateSpeedUp(UPSpep25, protID, "sum overall", mat)

Run the code above in your browser using DataLab