Hi guys,
I am getting an error which is [unable to find an inherited method for function "collect", for signature "xcmsRaw"]. Can anyone give me a fix for the suggested error.
Here is the code from R->
R version 2.14.2 (2012-02-29)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(xcms)
> xraw <- xcmsRaw("C:/Users/vnai039/Downloads/XCMS Results/Mutant Aux/Mutant-aux-1.mzXML", includeMSn=TRUE)
> xraw
An "xcmsRaw" object with 759 mass spectra
Time range: 0.4-2997.6 seconds (0-50 minutes)
Mass range: 121.0017-999.9907 m/z
Intensity range: 777.266-43677300
MSn data on 2113 mass(es)
with 2322 MSn spectra
Profile method: bin
Profile step: 1 m/z (880 grid points from 121 to 1000 m/z)
Memory usage: 17.4 MB
> col<-collect(xraw, rt=20)
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "collect", for signature "xcmsRaw"
Thanks in advance.
Cheers
plasma33