added function for stats from lf data
This commit is contained in:
parent
6e01ef22c0
commit
da9bb67706
4 changed files with 137 additions and 50 deletions
|
@ -6,7 +6,7 @@
|
|||
#=======================================================================
|
||||
# working dir and loading libraries
|
||||
# getwd()
|
||||
# setwd("~/git/LSHTM_analysis/scripts/plotting")
|
||||
setwd("~/git/LSHTM_analysis/scripts/plotting")
|
||||
# getwd()
|
||||
|
||||
# make cmd
|
||||
|
@ -14,7 +14,7 @@
|
|||
# drug = "streptomycin"
|
||||
# gene = "gid"
|
||||
|
||||
#source("get_plotting_dfs.R")
|
||||
source("get_plotting_dfs.R")
|
||||
#=======================================================================
|
||||
# MOVE TO COMBINE or singular file for deepddg
|
||||
|
||||
|
@ -492,47 +492,47 @@ if (nrow(lf_mcsm) == expected_rows_lf){
|
|||
quit()
|
||||
}
|
||||
############################################################################
|
||||
# # clear excess variables
|
||||
# rm(all_plot_dfs
|
||||
# , cols_dynamut2_df
|
||||
# , cols_mcsm_df
|
||||
# , cols_mcsm_na_df
|
||||
# , comb_df
|
||||
# , corr_data_ps
|
||||
# , corr_ps_df3
|
||||
# , df_lf_ps
|
||||
# , foo
|
||||
# , foo_cnames
|
||||
# , gene_metadata
|
||||
# , logo_data
|
||||
# , logo_data_or_mult
|
||||
# , logo_data_plot
|
||||
# , logo_data_plot_logor
|
||||
# , logo_data_plot_or
|
||||
# , my_data_snp
|
||||
# , my_df
|
||||
# , my_df_u
|
||||
# , ols_mcsm_df
|
||||
# , other_muts
|
||||
# , pd_df
|
||||
# , subcols_df_ps
|
||||
# , tab_mt
|
||||
# , wide_df_logor
|
||||
# , wide_df_logor_m
|
||||
# , wide_df_or
|
||||
# , wide_df_or_mult
|
||||
# , wt)
|
||||
#
|
||||
#
|
||||
# rm(c3, c4, check1
|
||||
# , cols_check
|
||||
# , cols_to_select
|
||||
# , cols_to_select_deepddg
|
||||
# , cols_to_select_duet
|
||||
# , cols_to_select_dynamut
|
||||
# , cols_to_select_dynamut2
|
||||
# , cols_to_select_encomddg
|
||||
# , cols_to_select_encomdds
|
||||
# , cols_to_select_mcsm
|
||||
# , cols_to_select_mcsm_na
|
||||
# , cols_to_select_sdm)
|
||||
# clear excess variables
|
||||
rm(all_plot_dfs
|
||||
, cols_dynamut2_df
|
||||
, cols_mcsm_df
|
||||
, cols_mcsm_na_df
|
||||
, comb_df
|
||||
, corr_data_ps
|
||||
, corr_ps_df3
|
||||
, df_lf_ps
|
||||
, foo
|
||||
, foo_cnames
|
||||
, gene_metadata
|
||||
, logo_data
|
||||
, logo_data_or_mult
|
||||
, logo_data_plot
|
||||
, logo_data_plot_logor
|
||||
, logo_data_plot_or
|
||||
, my_data_snp
|
||||
, my_df
|
||||
, my_df_u
|
||||
, ols_mcsm_df
|
||||
, other_muts
|
||||
, pd_df
|
||||
, subcols_df_ps
|
||||
, tab_mt
|
||||
, wide_df_logor
|
||||
, wide_df_logor_m
|
||||
, wide_df_or
|
||||
, wide_df_or_mult
|
||||
, wt)
|
||||
|
||||
|
||||
rm(c3, c4, check1
|
||||
, cols_check
|
||||
, cols_to_select
|
||||
, cols_to_select_deepddg
|
||||
, cols_to_select_duet
|
||||
, cols_to_select_dynamut
|
||||
, cols_to_select_dynamut2
|
||||
, cols_to_select_encomddg
|
||||
, cols_to_select_encomdds
|
||||
, cols_to_select_mcsm
|
||||
, cols_to_select_mcsm_na
|
||||
, cols_to_select_sdm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue