turned combining_dfs_plotting.R to a function and moved old script to redundant
This commit is contained in:
parent
cd5cbce3a0
commit
ea79f3b3c7
3 changed files with 327 additions and 883 deletions
|
@ -68,18 +68,18 @@ import_dirs(drug, gene)
|
|||
# my_df_u_lig
|
||||
# dup_muts
|
||||
#***********************************
|
||||
#infile = "/home/tanu/git/Data/streptomycin/output/gid_comb_stab_struc_params.csv"
|
||||
#infile_params = "/home/tanu/git/Data/streptomycin/output/gid_comb_stab_struc_params.csv"
|
||||
|
||||
#if (!exists("infile") && exists("gene")){
|
||||
if (!is.character(infile) && exists("gene")){
|
||||
if (!exists("infile_params") && exists("gene")){
|
||||
#if (!is.character(infile_params) && exists("gene")){
|
||||
#in_filename_params = paste0(tolower(gene), "_all_params.csv")
|
||||
in_filename_params = paste0(tolower(gene), "_comb_stab_struc_params.csv") # part combined for gid
|
||||
infile = paste0(outdir, "/", in_filename_params)
|
||||
cat("\nInput file not specified, assuming filename: ", infile, "\n")
|
||||
infile_params = paste0(outdir, "/", in_filename_params)
|
||||
cat("\nInput file not specified, assuming filename: ", infile_params, "\n")
|
||||
}
|
||||
|
||||
# Get the DFs out of plotting_data()
|
||||
pd_df = plotting_data(infile)
|
||||
pd_df = plotting_data(infile_params)
|
||||
my_df = pd_df[[1]]
|
||||
my_df_u = pd_df[[2]]
|
||||
my_df_u_lig = pd_df[[3]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue