Skip to content

Commit

Permalink
testint plot
Browse files Browse the repository at this point in the history
  • Loading branch information
mspodda committed May 23, 2024
1 parent 8fcca08 commit 3af32dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


4 changes: 2 additions & 2 deletions workflow/R/R_custom.R
Original file line number Diff line number Diff line change
@@ -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)

Expand Down Expand Up @@ -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()

0 comments on commit 3af32dc

Please sign in to comment.