rowScaling: Normalization by scaling peptide/protein intensity across all...

Description Usage Arguments Value Examples

View source: R/rowScaling.R

Description

Divide each peptide/protein by the row mean/median and transform to log2

Usage

1
rowScaling(MSnSetObj, scalingFunction)

Arguments

MSnSetObj

MSnSet; an object of class MSnSet

scalingFunction

function; median or mean

Value

An object of class MSnSet (see MSnSet-class).

Examples

1
2
3
4
5
6
7
8
data(human_anno)
data(exp3_OHT_ESR1)
MSnSet_data <- convertToMSnset(exp3_OHT_ESR1$intensities_qPLEX1, 
                               metadata=exp3_OHT_ESR1$metadata_qPLEX1,
                               indExpData=c(7:16), 
                               Sequences=2, 
                               Accessions=6)
MSnset_norm <- rowScaling(MSnSet_data, scalingFunction=median)

qPLEXanalyzer documentation built on Feb. 3, 2021, 2:01 a.m.