aggregateSum: Peptide/protein aggregate function using sum

View source: R/func.R

aggregateSumR Documentation

Peptide/protein aggregate function using sum

Description

This function should be used from within makePeptideTable or makeProteinTable. It aggregates values by calculating the sum for each column of wp.

Usage

aggregateSum(wp)

Arguments

wp

Matrix with columns corresponding to samples and rows corresponding to peptide entries.

Value

A numeric vector with aggregated values

Examples

## Not run: 
library(proteusLabelFree)
data(proteusLabelFree)
prodat <- makeProteinTable(pepdat.clean, aggregate.fun=aggregateSum)

## End(Not run)

bartongroup/Proteus documentation built on April 22, 2023, 5:33 a.m.