From 981e80ef1ee33d6ad25be1c912cae4a82ec824aa Mon Sep 17 00:00:00 2001 From: Peter van 't Hof <p.j.van_t_hof@lumc.nl> Date: Wed, 19 Aug 2015 17:10:44 +0200 Subject: [PATCH] Added a scatter plot --- .../nl/lumc/sasc/biopet/tools/RegionAfCount.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/RegionAfCount.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/RegionAfCount.scala index 96446e4d1..b409b65b5 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/RegionAfCount.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/RegionAfCount.scala @@ -112,6 +112,16 @@ object RegionAfCount extends ToolCommand { } writer.close() + logger.info("Generate plot") + + val scatterPlot = new ScatterPlot(null) + scatterPlot.input = cmdArgs.outputFile + scatterPlot.output = new File(cmdArgs.outputFile.getAbsolutePath + ".png") + scatterPlot.ylabel = Some("Sum of AFs") + scatterPlot.width = Some(1200) + scatterPlot.height = Some(1000) + scatterPlot.runLocal() + logger.info("Done") } } \ No newline at end of file -- GitLab