Metabolomics Society Forum

Software => R => XCMS => Topic started by: meow on February 27, 2012, 04:57:02 AM

Title: massifquant not working
Post by: meow on February 27, 2012, 04:57:02 AM
Hi,

We wanted to try the massifquant peak detection on some of our samples; apparently the findPeaks.massifquant function is not found in the DLL (the R part of the function seems to exist, it seems to fail when calling the DLL...)

Code: [Select]
fn <- "my_long_filename"
# just to try:
xs <- xcmsSet(fn, method="centWave")
# works great. However:
xs <- xcmsSet(fn, method="massifquant", ppm=5)
100309_pos_micropoll_19:
Fehler in .Call("massifquant", object@env$mz, object@env$intensity, object@scanindex,  :
  C Symbolname "massifquant" nicht in der DLL für Paket "xcms"

Code: [Select]
sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: i386-pc-mingw32/i386 (32-bit)

(tl;dr)

mzR_1.0.0
xcms_1.30.0

The same was true for R 2.14.1 and XCMS 1.30.3.

Is the function not yet active, or is something wrong with our R?
(R for Windows, btw.)
Title: Re: massifquant not working
Post by: sneumann on February 27, 2012, 09:01:13 AM
Hi,

Quote from: "meow"
We wanted to try the massifquant peak detection on some of our samples; apparently the findPeaks.massifquant function is not found in the DLL (the R part of the function seems to exist, it seems to fail when calling the DLL...)

I just committed 1.31.8, which enables windows builds
of the (experimental) MassIfQuant Peak picker.

The only change I needed (apart from adding the massifquant *.o
to OBJECTS in Makevars.win) was to define float64 as double,
same as in the unix variant.

If you're impatient, grab' it from
http://msbi.ipb-halle.de/~sneumann/xcms_1.31.8.zip (http://msbi.ipb-halle.de/~sneumann/xcms_1.31.8.zip)

Yours,
Steffen
Title: Re: massifquant not working
Post by: meow on February 29, 2012, 08:01:22 AM
Hi,

thanks, it works now :)