From 36129e01e4804925df6527cc197d72dddf0d303d Mon Sep 17 00:00:00 2001 From: kshakir Date: Tue, 23 Feb 2010 05:31:51 +0000 Subject: [PATCH] Using bitmap() instead of png() since the former doesn't rely on X11. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2873 348d0f76-0448-11de-a6fe-93d51630548a --- R/analyzeConcordance/analyzeConcordance.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/analyzeConcordance/analyzeConcordance.R b/R/analyzeConcordance/analyzeConcordance.R index 584e0783c..2cba55d0f 100755 --- a/R/analyzeConcordance/analyzeConcordance.R +++ b/R/analyzeConcordance/analyzeConcordance.R @@ -29,7 +29,7 @@ if (nrow(d.filtered) > 0) { nFilterTypes <- 1 } -png(outfile, width=600, height=(300 * nFilterTypes)) +bitmap(outfile, width=600, height=(300 * nFilterTypes), units="px") par(cex=1.1, mfrow=c(1 * nFilterTypes,2)) nbreaks <- 20 color <- "grey" @@ -51,7 +51,7 @@ dev.off() outfile = paste(base_name, ".novel_vs_known_titv.png", sep="") -png(outfile, width=600, height=600) +bitmap(outfile, width=600, height=600, units="px") d.display <- d.display[order(d.display$novel_titv),] plot(1:length(d.display$known_titv),d.display$known_titv,type="b",col="blue",ylim=c(0,4), xlab="Sample #", ylab="Ti / Tv")