moved old logo plots scripts to redundant and updated running_plotting_scripts.txt to reflect these and how to run the single logo_plots.R to generate logo plots
This commit is contained in:
parent
f1a8fb583a
commit
639ccf1cd7
4 changed files with 34 additions and 42 deletions
|
@ -2,6 +2,10 @@
|
||||||
#===================
|
#===================
|
||||||
# basic_barplot.R
|
# basic_barplot.R
|
||||||
#===================
|
#===================
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
./basic_barplots.R -d streptomycin -g gid
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
It replaces
|
It replaces
|
||||||
basic_barplot_PS.R
|
basic_barplot_PS.R
|
||||||
basic_barplot_LIG.R
|
basic_barplot_LIG.R
|
||||||
|
@ -14,62 +18,50 @@ sources:
|
||||||
## position_count_bp.R
|
## position_count_bp.R
|
||||||
## stability_count_bp.R
|
## stability_count_bp.R
|
||||||
|
|
||||||
outputs:
|
outputs: 5 svgs in the plotdir
|
||||||
## 5 svgs in the plotdir
|
## gid_basic_barplot_foldx
|
||||||
|
## gid_basic_barplot_LIG
|
||||||
|
## gid_basic_barplot_PS
|
||||||
|
## gid_position_count_PS
|
||||||
|
## gid_position_count_LIG
|
||||||
|
|
||||||
note:
|
note:
|
||||||
-f flag has default if not supplied
|
-f flag has default if not supplied
|
||||||
#-----------------------------------------------------------------------
|
#########################################################################
|
||||||
./basic_barplots.R -d streptomycin -g gid -f /home/tanu/gid_test_file.csv
|
#===================
|
||||||
#-----------------------------------------------------------------------
|
# get_plotting_dfs.R
|
||||||
|
#===================
|
||||||
|
|
||||||
|
NOTE: Not ran directly. But is sourced by other plotting scripts to get
|
||||||
|
the df needed to plot graphs. This is run by these ind plottings scripts
|
||||||
|
like below as cmd where the cmd args return valid dfs used for plots.
|
||||||
|
|
||||||
#===================
|
#===================
|
||||||
# log_plot.R
|
# log_plots.R
|
||||||
#===================
|
#===================
|
||||||
./logo_plot.R -d streptomycin -g gid
|
#-----------------------------------------------------------------------
|
||||||
|
./logo_plots.R -d streptomycin -g gid
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
|
||||||
|
It replaces
|
||||||
|
## logo_plot.R
|
||||||
|
## logo_multiple_muts
|
||||||
|
## logo_combined.R
|
||||||
|
These have been moved to redundant/
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
## get_plotting_dfs.R
|
## get_plotting_dfs.R
|
||||||
|
|
||||||
outputs: plotdir
|
outputs: 4 svgs in the plotdir
|
||||||
## 1 svg of OR for all positions
|
## logo_or_plot.svg
|
||||||
|
## logo_logOR_plot.svg
|
||||||
note:
|
## logo_multiple_muts.svg
|
||||||
-fa flag has default if not supplied
|
## logo_combined_labelled.svg
|
||||||
-fb flag has default if not supplied
|
|
||||||
|
|
||||||
#========================
|
|
||||||
# ./logo_multiple_muts.R
|
|
||||||
#========================
|
|
||||||
./logo_multiple_muts.R -d streptomycin -g gid
|
|
||||||
|
|
||||||
sources:
|
|
||||||
## get_plotting_dfs.R
|
|
||||||
|
|
||||||
outputs: plotdir
|
|
||||||
## 1 svg of multiple muts for all positions > 1 muts (mutations + wt)
|
|
||||||
|
|
||||||
note:
|
note:
|
||||||
- fa flag has default if not supplied
|
- fa flag has default if not supplied
|
||||||
- fb flag has default if not supplied
|
- fb flag has default if not supplied
|
||||||
- Error in grid.Call fixed by commenting out image rendering on console
|
- Error in grid.Call fixed by commenting out image rendering on console
|
||||||
|
|
||||||
#========================
|
|
||||||
# ./logo_combined.R
|
|
||||||
#========================
|
|
||||||
|
|
||||||
sources:
|
|
||||||
## get_plotting_dfs.R
|
|
||||||
|
|
||||||
outputs: plotdir
|
|
||||||
## 1 svg combined of OR logo plot + mulitple_muts i.e output from
|
|
||||||
'logo_plots.R' + 'logo_multiple_muts.R'
|
|
||||||
|
|
||||||
note:
|
|
||||||
- fa flag has default if not supplied
|
|
||||||
- fb flag has default if not supplied
|
|
||||||
- Error in grid.Call fixed by commenting out image rendering on console
|
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
# TODO
|
# TODO
|
||||||
Delete: dirs.R
|
Delete: dirs.R
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue