normalize_to_std {mstherm} | R Documentation |
Normalize to a spike-in standard.
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
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
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)
[Package mstherm version 0.4.7 Index]