Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fillPeaks(xset_gr) error in xcms #72

Open
manasonur opened this issue Aug 28, 2021 · 1 comment
Open

fillPeaks(xset_gr) error in xcms #72

manasonur opened this issue Aug 28, 2021 · 1 comment

Comments

@manasonur
Copy link

manasonur commented Aug 28, 2021

datapath <- ("C:/Users/onur/Desktop/emrah")
datafiles <- list.files(datapath, recursive = TRUE, full.names = TRUE)
xset <- xcmsSet(datafiles, method="centWave", ppm=18.5, peakwidth=c(6,24),

  •             prefilter=c(3,2000), snthresh=10, fitgauss=FALSE,
    
  •             mzCenterFun="wMean", integrate=1, mzdiff=0.01, noise=5)
    

Detecting mass traces at 18.5 ppm ... OK
Detecting chromatographic peaks in 16187 regions of interest ... OK: 7653 found.

xset_gr = group(xset)
Processing 11537 mz slices ... OK
xset_fill <- fillPeaks(xset_gr)
Error in matrix(nrow = nrow(gvals), ncol = 4) : non-numeric matrix extent
I get a error like above and could not figure out. Could you please help me for that
Thanks
Onur

@sneumann
Copy link
Owner

sneumann commented Sep 6, 2021

Hi, sounds like an xcms issue rather than CAMERA.
Please provide operating system, version(s) of R and xcms.
In addition, I would recommend to use the new xcms3 interface described in http://bioconductor.org/packages/release/bioc/vignettes/xcms/inst/doc/xcms.html
Yours, Steffen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants