normalize_to_std: Normalize to a spike-in standard.

Description Usage Arguments Value Examples

View source: R/normalization.R

Description

Normalizes each replicate of an experiment based on a given spike-in protein standard (assumed to be present in equimolar amounts in each channel).

Usage

1
normalize_to_std(expt, protein, model = T, plot = T)

Arguments

expt

an MSThermExperiment object

protein

ID of a protein to normalize against

model

whether to fit scale factors to model

plot

(T/f) whether to display a summary plot

Value

An MsThermExperiment object with normalized data slots

Examples

1
2
3
4
5
control <- system.file("extdata", "demo_project/control.tsv", package="mstherm")
annots  <- system.file("extdata", "demo_project/annots.tsv",  package="mstherm")
expt    <- MSThermExperiment(control, annotations=annots)

expt    <- normalize_to_std(expt, "cRAP_ALBU_BOVIN", plot=FALSE)

jvolkening/r-mstherm documentation built on May 20, 2019, 5:21 a.m.