runTICscale: running total ion count scaling (TIC)

Description Usage Arguments Value See Also Examples

View source: R/runrobscale.R

Description

running total ion count scaling (TIC)

Usage

1
runTICscale(arefw, k = 101)

Arguments

arefw

a series to scale

k

- the smoothing window

Value

list with fields scaled - contains scaled data and mean - averages of window k

See Also

correctIntRTv2 for context

Examples

1
2
3
4
5
res = c(rnorm(1000,3,2),rnorm(2000,8,1))
res2 = runTICscale(res)
plot(res,type="p",pch=".",col=1,cex=0.5)
lines(1:length(res),res2$mean,col=3)
points(res2$scaled, pch=".",cex=3,col=2)

quantable documentation built on May 2, 2019, 4:05 p.m.