Skip to content

fillPeaks(xset_gr) error in xcms #72

@manasonur

Description

@manasonur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions