aggregateMedian: Protein/peptide aggregate function using median

View source: R/func.R

aggregateMedianR Documentation

Protein/peptide aggregate function using median

Description

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

Usage

aggregateMedian(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=aggregateMedian)

## End(Not run)

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