Re: split issue
Reply #1 –
Luoluopig,
It would appear that your xcmsSet object isn't loaded from the line:
If you type just testsplit in R you should see your object just like if you do faahko on the example from the cookbook. Also the only reason the sampclass method was used in the example was to have a third group to split by instead of just having two. You can do this as well if you want to change your sample classes.
So first I would try:
library(xcms)
##I'll assume that testsplit has been made
testsplit
sampclass(testsplit)
xslist <- split(testsplit, f=sampclass(testsplit))
Paul