From 061fc77fb0a2cdf73ae7565d7d07b460ea8cb7ce Mon Sep 17 00:00:00 2001 From: Prakki Rama Date: Thu, 23 Apr 2020 14:06:25 +0800 Subject: [PATCH] Update CPgeneProfiler.R Added grDevices to tiff and pdf --- R/CPgeneProfiler.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/CPgeneProfiler.R b/R/CPgeneProfiler.R index 0dda19f..fcab5d3 100644 --- a/R/CPgeneProfiler.R +++ b/R/CPgeneProfiler.R @@ -579,7 +579,7 @@ upset_plot <- #upset_plot ##SAVE UPSETR PLOT INTO A PDF -tiff( +grDevices::tiff( "filename.tiff", width = 1500, height = 2000, @@ -590,7 +590,7 @@ heatMap_ggplot dev.off() # Save the plots in PDF -pdf("CPgene-profiler.pdf", width = 8, height = 10) +grDevices::pdf("CPgene-profiler.pdf", width = 8, height = 10) N50_plot N90_plot