diff lib.r @ 12:0cab69429e1e draft

"planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 50478425b4773ebcb393c0e31f1e622b7406dcbb"
author workflow4metabolomics
date Thu, 24 Sep 2020 08:08:50 +0000
parents 37d31fd64eb4
children 024974037c4e
line wrap: on
line diff
--- a/lib.r	Tue Jul 21 09:17:54 2020 -0400
+++ b/lib.r	Thu Sep 24 08:08:50 2020 +0000
@@ -256,7 +256,7 @@
     }
     if (length(group_colors) > 1) {
         names(group_colors) <- unique(xdata$sample_group)
-        plot(chrom, col = group_colors[as.factor(chrom$sample_group)], main=main, peakType = "none")
+        plot(chrom, col = group_colors[chrom$sample_group], main=main, peakType = "none")
         legend("topright", legend=names(group_colors), col=group_colors, cex=0.8, lty=1)
     }