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:
#========
Rscript basic_barplots_PS.R
# Calls 'plotting_data.R' --> calls 'dirs.R'
'Plotting_data.R':
#drug = opt$drug
#gene = opt$gene
./basic_barplots_PS.R -d streptomycin -g gid -f /home/tanu/gid_test_file.csv
# hardcoding when not using cmd
drug = "streptomycin"
gene = "gid"
sources:
## plotting_globals.R (previously dir.R)
## plotting_data.R
#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
# TODO
Delete: dirs.R
after grepping
barplots_subcolours_aa_combined.R:source("dirs.R")