From 48bfe2363b005a5be63ba890956ec0896b40dc70 Mon Sep 17 00:00:00 2001 From: Per Unneberg Date: Tue, 3 May 2022 10:09:28 +0200 Subject: [PATCH] Save R session image --- inst/bin/genecovr | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inst/bin/genecovr b/inst/bin/genecovr index c6f2375..ecb20f5 100755 --- a/inst/bin/genecovr +++ b/inst/bin/genecovr @@ -317,3 +317,11 @@ save_plot(p, outfile) outfile <- file.path(outdir, "gene_body_coverage.csv.gz") message("saving ", outfile) write.csv(data, gzfile(outfile), row.names=FALSE) + + +############################## +## Save Rdata of analysis +############################## +outfile <- file.path(outdir, "genecovr.RData") +message("saving ", outfile) +save.image(file=outfile)