-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Error in fillpeaks after XCMSnExp conversion #54
Comments
Would be helpful to post your whole script starting from conversion of the object. |
I precise i have the same error with the MTBLS2 example |
waters (.raw) files that I converted via pw (MS1/MSe) mzmlpath <- "D:/Tau_Ltm/" pd<-data.frame(sample_name = sub(basename(files),pattern = ".mzML", replacement = "", fixed = TRUE), stringsAsFactors = FALSE) msleveltable(msLevel(raw_data)) MS1cwp <- CentWaveParam(ppm=25, peakwidth=c(2,25), mzdiff=0.01, snthresh=10 , prefilter=c(3,100),noise = 0) MS2xdata <- findChromPeaks(xdata, param = cwp1, msLevel = 2L, add = TRUE) groupingpdp <- PeakDensityParam(sampleGroups = rep(1, length(fileNames(xdata))),minFraction = 0.8) ###retention time correction groupingxdata <- groupChromPeaks(xdata, param = pdp ) fillpeaksprocessed_Data <- fillChromPeaks( xdata, param = FillChromPeaksParam(fixedRt = medWidth)) annotation via cameraxset <- as(filterMsLevel(processed_Data, msLevel = 1L), "xcmsSet") and then the error message |
Hello,
I would like to annotate my masses
I have xcms version 3.9.2 and camera version 1.43.2.
I do the different stages of processing xcms
and I converted my XCMSnExp to xcmsSet
when I apply the Fillpeaks function, here is the error message:
Error in rowSums(groupmat[, (match( npeaks, colnames(groupmat)) + 1):ncol(groupmat), :
'x' must be numeric
I take exactly the same steps as the MTBLS2 example
Thanks
Yohann
The text was updated successfully, but these errors were encountered: