Description Usage Arguments Value See Also Examples
Returns the last fitted RT projection model from a metabCombiner object of type "gam" or "loess".
1 2 3 4 |
object |
metabCombiner object |
fit |
Choice of model, "gam" or "loess" |
nonlinear retention time fit object
1 2 3 4 5 6 7 8 9 10 | data(plasma30)
data(plasma20)
p30 <- metabData(plasma30, samples = "CHEAR")
p20 <- metabData(plasma20, samples = "Red", rtmax = 17.25)
p.comb <- metabCombiner(xdata = p30, ydata = p20, binGap = 0.005)
p.comb <- selectAnchors(p.comb, tolmz = 0.003, tolQ = 0.3, windy = 0.02)
p.comb <- fit_gam(p.comb, iterFilter = 1, k = 20)
p.comb <- fit_loess(p.comb, iterFilter = 1, spans = 0.2)
model.gam <- getModel(p.comb, fit = "gam")
model.loess <- getModel(p.comb, fit = "loess")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.