1
XCMS / How to access data returned by getEIC?
I can open a data file in R with
Code: [Select]
filename <- "#4606.mzXML"and get an extracted ion chromatogram with
xraw <- xcmsRaw(filename)
Code: [Select]
mzr <- cbind(179.9,180.3)but for further processing I would now like to access the values for 'rt' and 'intensity' as displayed by
rtr <- cbind(397,1560.3)
eicm <- getEIC(xraw, mzrange = mzr, rtrange = rtr)
Code: [Select]
> attr(eicm,"eic")Could somebody please help with the required voodoo?
$xcmsRaw
$xcmsRaw[[1]]
rt intensity
[1,] 397.022 1425
[2,] 397.241 13700
...
[5510,] 1560.069 0
[5511,] 1560.288 36000
TIA