pepAgregate {DAPAR} | R Documentation |
Method to agregate with a method peptides to proteins on
a MSnSet
object (peptides)
pepAgregate(obj.pep, protID, method = "sum overall", matAdj = NULL, n = NULL)
obj.pep |
An object (peptides) of class |
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. |
An object of class MSnSet
with proteins
Alexia Dorffer, Samuel Wieczorek
require(DAPARdata) data(Exp1_R25_pept) protID <- "Protein.group.IDs" mat <- BuildAdjacencyMatrix(Exp1_R25_pept[1:1000], protID, TRUE) pepAgregate(Exp1_R25_pept[1:1000], protID, "sum overall", mat)