Skip to content

Commit

Permalink
Update CPgeneProfiler.R
Browse files Browse the repository at this point in the history
Added grDevices to tiff and pdf
  • Loading branch information
ramadatta authored Apr 23, 2020
1 parent c9dd80e commit 061fc77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/CPgeneProfiler.R
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ upset_plot <-
#upset_plot
##SAVE UPSETR PLOT INTO A PDF

tiff(
grDevices::tiff(
"filename.tiff",
width = 1500,
height = 2000,
Expand All @@ -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
Expand Down

0 comments on commit 061fc77

Please sign in to comment.