Skip to main content
Topic: Diffreport EIC's and scanrange (Read 4262 times) previous topic - next topic

Diffreport EIC's and scanrange

Hello,

I've been using the following approximate code in order to observe differences in metabolite accumulation between a mutant and a control sample:

Code: [Select]
Mutant<-list.files("files", recursive = TRUE, full.names = TRUE)
xset<-xcmsSet(Mutant, snthresh = 4)
xset2<-group(xset)
xset3<-fillPeaks(xset2)
report<-diffreport(xset3, "mutant", "control", "report", 1000, sortpval = TRUE, value = "into")

However I wanted to limit my EICs to only those within a certain RT range. When I tried adding scanrange = c(196-2200) to the xcmsSet function my EICs come out looking funny: Having random lines zigzaging everywhere, and the areas adjacent to peaks are highlighted rather than the peaks themselves.

Can anyone please tell what I am doing wrong?

Thank you,
Olga

Re: Diffreport EIC's and scanrange

Reply #1
Hi,

1) which version of xcms is that ?  2) Can you reproduce the problem
with the faahKO data files ? Then we'll be able to see where the problem
comes from.

Yours,
Steffen
--
IPB Halle                          Mass spectrometry & Bioinformatics
Dr. Steffen Neumann         http://www.IPB-Halle.DE
Weinberg 3 06120 Halle     Tel. +49 (0) 345 5582 - 1470
sneumann(at)IPB-Halle.DE