peakWidthOverTime | R Documentation |
Should be applied for each Raw file individually.
peakWidthOverTime(data, RT_bin_width = 2)
data |
Data.frame with columns 'retention.time' and 'retention.length' |
RT_bin_width |
Bin size in minutes |
Returns a data.frame, where 'bin' gives the index of each bin, 'RT' is the middle of each bin and 'peakWidth' is the averaged peak width per bin.
Data.frame with columns 'bin', 'RT', 'peakWidth'
data = data.frame(retention.time = seq(30,200, by=0.001)) ## one MS/MS per 0.1 sec
data$retention.length = seq(0.3, 0.6, length.out = nrow(data)) + rnorm(nrow(data), 0, 0.1)
d = peakWidthOverTime(data)
plot(d$RT, d$peakWidth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.