31
XCMS / METLIN information extraction
Best
This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.
I lowered snthresh to 50 and prefilter to c(3,3333) and that helped.
for(i in 1:3){
xset[i] <- xcmsSet(data.set[i], method="centWave",
polarity="positive", ## prefilter=c(3,5000),
ppm=10, snthr=1500, peakwidth=c(4,15))
foo <- c(xset[i])
}
Just change the cdf to what you need.
You're loading the file that had the problem and not some other one?
I would have a look with something else like OpenMS or mzViewer just to check the file loads.
rampid<-xcms:::rampOpen("17_GS34_A.mzdata")[1] -1
rampid
rampHead<-xcms:::rampScanHeaders(rampid)Error in xcms:::rampScanHeaders(rampid) : invalid rampid
xset <- xcmsSet(data.set, method="centWave",
polarity="positive", ppm=10, snthr=15,
peakwidth=c(4,15))
for(i in 1:3){
xset[i] <- xcmsSet(data.set[i], method="centWave",
polarity="positive", ## prefilter=c(3,5000),
ppm=10, snthr=1500, peakwidth=c(4,15))
foo <- c(xset[i])
}
(xset1 <- xset[which(xset@peaks[,"mz"]<600 & xset@peaks[,"mz"]>100),] )but the R consol give this error:
Errore in xset[which(xset@peaks[, "mz"] < 600 & xset@peaks[, "mz"] > 100), : object of type 'S4' is not subsettable