xcmsSet
object.tsv
file and _eic
will be appended to this name for the tabular report and EIC
directory, respectively. if blank nothing will be saved
value="into"
, integrated peak intensities are used.
If value="maxo"
, maximum peak intensities are used.
If value="intb"
, baseline corrected integrated peak intensities are used (only available if peak detection was done by findPeaks.centWave
).
mt.teststat
tstat
for
which set of sample classes was higher)
class2
, negative for analytes having
greater intensity in class1
diffreport(object, class1 = levels(sampclass(object))[1],
class2 = levels(sampclass(object))[2],
filebase = character(), eicmax = 0, eicwidth = 200,
sortpval = TRUE, classeic = c(class1,class2),
value=c("into","maxo","intb"), metlin = FALSE,
h=480,w=640, mzdec=2, ...)
Additionally, it does all the heavy lifting involved in creating superimposed extracted ion chromatograms for a given number of analytes. It does so by reading the raw data files associated with the samples of interest one at a time. As it does so, it prints the name of the sample it is currently reading. Depending on the number and size of the samples, this process can take a long time.
If a base file name is provided, the report (see Value section) will be saved to a tab separated file. If EICs are generated, they will be saved as 640x480 PNG files in a newly created subdirectory. However this parameter can be changed with the commands arguments. The numbered file names correspond to the rows in the report.
Chromatographic traces in the EICs are colored and labeled by
their sample class. Sample classes take their color from the
current palette. The color a sample class is assigned is dependent
its order in the xcmsSet
object, not the order given in
the class arguments. Thus levels(sampclass(object))[1]
would use color palette()[1]
and so on. In that way, sample
classes maintain the same color across any number of different
generated reports.
When there are multiple sample classes, xcms will produce boxplots of the different classes and will generate a single anova p-value statistic. Like the eic's the plot number corresponds to the row number in the report.
xcmsSet-class
,
mt.teststat
,
palette