Metabolomics Society Forum

Software => R => XCMS => Topic started by: test on June 02, 2020, 09:47:35 AM

Title: XCMS Plot Chromatograms after Peak Detection
Post by: test on June 02, 2020, 09:47:35 AM
I am going through the XCMS tutorial on the Bioconductor page (https://bioconductor.org/packages/devel/bioc/vignettes/xcms/inst/doc/xcms.html#1_introduction). I get the following error message when I try to plot chromatograms that have been processed (xchromatograms):

    Error in (function (cl, name, valueClass)  :
      ‘.processHistory’ is not a slot in class “list”

Referencing back to the tutorial, I start getting errors when I run the code below. Any help is appreciated. Thank you.

    sample_colors <- group_colors[xchr$sample_group]
    plot(xchr, col = sample_colors,
        peakBg = sample_colors[chromPeaks(xchr)[, "column"]])