inst/doc/mstherm.R

## ------------------------------------------------------------------------
library(mstherm)
control <- system.file("extdata", "demo_project/control.tsv", package="mstherm")
annots <- system.file("extdata", "demo_project/annots.tsv", package="mstherm")
expt <- MSThermExperiment(control, annots)

## ---- fig.cap="Summary of normalization"---------------------------------
expt <- normalize_to_std(expt, "cRAP_ALBU_BOVIN")

## ---- message=FALSE, results="hide"--------------------------------------
res <- model_experiment(expt, bootstrap=T, smooth=T, min_rep_psm=3, np=1)

## ---- message=FALSE, results="hide"--------------------------------------
expt <- normalize_to_tm( expt, res )
res  <- model_experiment(expt, bootstrap=T, smooth=T, min_rep_psm=3, np=1)

## ------------------------------------------------------------------------
plot(res$P38707)

## ---- eval=FALSE---------------------------------------------------------
#  pdf("models.pdf", 5, 5, pointsize=10, useDingbats=F)
#  plot(res)
#  dev.off()

Try the mstherm package in your browser

Any scripts or data that you put into this service are public.

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