gen_profile: Generate protein ratio profile from spectrum quantification...

Description Usage Arguments Details Value

View source: R/modeling.R

Description

gen_profile takes a matrix of spectrum channel quantification values belonging to a protein and "rolls them up" into a vector of protein-level relative quantification values.

Usage

1
gen_profile(x, method = "sum", method.denom = "first")

Arguments

x

matrix of spectrum quantification values, one row per spectrum and one column per channel

method

method to use to "roll up" spectrum values to protein level

method.denom

method used to determine ratio denominator, passed as the "method" argument to abs_to_ratio

Details

The following methods for spectrum-to-protein conversion are supported:

"sum"

use the sum of the Spectrum values for each channel

"median"

use the median of the spectrum values for each channel

"ratio.median"

Like "median", but values for each spectrum are first converted to ratios according to "method.denom" channel

"ratio.mean"

Like "ratio.median" but using mean of ratios

Value

A numeric vector of the same length as the number of matrix columns


mstherm documentation built on May 2, 2019, 9:31 a.m.