diff xcms_differential_analysis.r @ 54:10f3cb998c4e

small fix
author pieter.lukasse@wur.nl
date Thu, 11 Dec 2014 14:32:19 +0100
parents f772a5caa86a
children 543958f75e83
line wrap: on
line diff
--- a/xcms_differential_analysis.r	Thu Dec 11 14:09:27 2014 +0100
+++ b/xcms_differential_analysis.r	Thu Dec 11 14:32:19 2014 +0100
@@ -49,6 +49,9 @@
 			
 			# info: levels(xcmsSet@phenoData$class) also gives access to the class names
 			dir.create(file.path(args.htmlReportFile.files_path), showWarnings = FALSE, recursive = TRUE)
+			# set cairo as default for png plots:
+			x11 = function (...) grDevices::x11(...,type='cairo')
+			# run diffreport
 			reporttab <- diffreport(xsetData, args.class1, args.class2, paste(args.htmlReportFile.files_path,"/fig", sep=""), args.topcount, metlin = 0.15, h=480, w=640)
 			
 			# write out tsv table: