uddated how to run plotting scripts. This is a cleaner version to keep up-to-date

This commit is contained in:
Tanushree Tunstall 2021-06-08 16:53:07 +01:00
parent ce8abafdfe
commit 6f24fc1fac

View file

@ -1,20 +1,14 @@
#======== #========
# basic_barplots_PS.R: # basic_barplots_PS.R:
#======== #========
Rscript basic_barplots_PS.R ./basic_barplots_PS.R -d streptomycin -g gid -f /home/tanu/gid_test_file.csv
# Calls 'plotting_data.R' --> calls 'dirs.R'
'Plotting_data.R': sources:
#drug = opt$drug ## plotting_globals.R (previously dir.R)
#gene = opt$gene ## plotting_data.R
# hardcoding when not using cmd
drug = "streptomycin"
gene = "gid"
# TODO # TODO
making such that cmd line agrs are passed to basic_barplots_PS.R for gene, drug and maybe input file
and then these call functions
Delete: dirs.R Delete: dirs.R
after grepping after grepping
barplots_subcolours_aa_combined.R:source("dirs.R") barplots_subcolours_aa_combined.R:source("dirs.R")