From 3af32dc858247dc8e47fb08ddb36605b858b3e97 Mon Sep 17 00:00:00 2001 From: Maurizio Salvatore Podda Date: Thu, 23 May 2024 10:22:43 +0200 Subject: [PATCH] testint plot --- .github/workflows/testing.yml | 5 +++++ workflow/R/R_custom.R | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 6ea3fec..0fe9521 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -32,5 +32,10 @@ jobs: gzip -d test_data/chr7.fa.gz - name: Run snakemake run: snakemake -s workflow/snakefile_final.smk --use-conda --rerun-incomplete --core 2 -k + - name: Upload plot as artifact + uses: actions/upload-artifact@v3 + with: + name: plot + path: workflow/R/ratio_BRAF.pdf diff --git a/workflow/R/R_custom.R b/workflow/R/R_custom.R index 6c9f2ca..8234838 100755 --- a/workflow/R/R_custom.R +++ b/workflow/R/R_custom.R @@ -1,5 +1,5 @@ ### Create and load vector of packages -setwd(final_output) +#setwd(final_output) source("config_all.R") lapply(my_packages, require, character.only = TRUE) @@ -142,7 +142,7 @@ bp_ratios <- ggplot(db_ratio, aes(x=group, y=value, fill=group)) + xlab("Tissue Typology") bp_ratios # Closing the graphical device -setwd(final_output) +#setwd(final_output) pdf("ratio_BRAF.pdf", width = 21.5,height = 11) bp_ratios dev.off() \ No newline at end of file