various changes
This commit is contained in:
parent
2274f01f23
commit
6c6709e41e
6 changed files with 198 additions and 29 deletions
63
scripts/functions/tests/data_for_testingF.R
Normal file
63
scripts/functions/tests/data_for_testingF.R
Normal file
|
@ -0,0 +1,63 @@
|
|||
############################################################################
|
||||
# merged_df3 = read.csv("~/git/Data/cycloserine/output/alr_all_params.csv"); source("~/git/LSHTM_analysis/config/alr.R")
|
||||
# if ( tolower(gene) == "alr") {
|
||||
# aa_pos_lig1 = NULL
|
||||
# aa_pos_lig2 = NULL
|
||||
# aa_pos_lig3 = NULL
|
||||
# p_title = gene
|
||||
# }
|
||||
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
###########################################################################
|
||||
# merged_df3 = read.csv("~/git/Data/ethambutol/output/embb_all_params.csv"); source("~/git/LSHTM_analysis/config/embb.R")
|
||||
# if ( tolower(gene) == "embb") {
|
||||
# aa_pos_lig1 = aa_pos_ca
|
||||
# aa_pos_lig2 = aa_pos_cdl
|
||||
# aa_pos_lig3 = aa_pos_dsl
|
||||
# p_title = gene
|
||||
# }
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
|
||||
###########################################################################
|
||||
merged_df3 = read.csv("~/git/Data/streptomycin/output/gid_all_params.csv")
|
||||
|
||||
source("~/git/LSHTM_analysis/config/gid.R")
|
||||
if ( tolower(gene) == "gid") {
|
||||
aa_pos_lig1 = aa_pos_rna
|
||||
aa_pos_lig2 = aa_pos_sam
|
||||
aa_pos_lig3 = aa_pos_amp
|
||||
p_title = gene
|
||||
}
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
|
||||
###########################################################################
|
||||
# merged_df3 = read.csv("~/git/Data/isoniazid/output/katg_all_params.csv"); source("~/git/LSHTM_analysis/config/katg.R")
|
||||
# if ( tolower(gene) == "katg") {
|
||||
# aa_pos_lig1 = aa_pos_hem
|
||||
# aa_pos_lig2 = NULL
|
||||
# aa_pos_lig3 = NULL
|
||||
# p_title = gene
|
||||
# }
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
|
||||
###########################################################################
|
||||
# merged_df3 = read.csv("~/git/Data/pyrazinamide/output/pnca_all_params.csv"); source("~/git/LSHTM_analysis/config/pnca.R")
|
||||
# if ( tolower(gene) == "pnca") {
|
||||
# aa_pos_lig1 = aa_pos_fe
|
||||
# aa_pos_lig2 = NULL
|
||||
# aa_pos_lig3 = NULL
|
||||
# p_title = gene
|
||||
# }
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
|
||||
###########################################################################
|
||||
merged_df3 = read.csv("~/git/Data/rifampicin/output/rpob_all_params.csv"); source("~/git/LSHTM_analysis/config/rpob.R")
|
||||
if ( tolower(gene) == "rpob") {
|
||||
aa_pos_lig1 = NULL
|
||||
aa_pos_lig2 = NULL
|
||||
aa_pos_lig3 = NULL
|
||||
p_title = gene
|
||||
}
|
||||
source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
|
||||
|
||||
#########################################################################
|
Loading…
Add table
Add a link
Reference in a new issue