changeset 55:543958f75e83

small fix
author pieter.lukasse@wur.nl
date Thu, 11 Dec 2014 14:45:28 +0100
parents 10f3cb998c4e
children 9404c688f42d
files xcms_differential_analysis.r
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/xcms_differential_analysis.r	Thu Dec 11 14:32:19 2014 +0100
+++ b/xcms_differential_analysis.r	Thu Dec 11 14:45:28 2014 +0100
@@ -50,7 +50,7 @@
 			# 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')
+			png = function (...) grDevices::png(...,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)