added log option to function properly

This commit is contained in:
Tanushree Tunstall 2022-01-14 10:50:56 +00:00
parent 3b7cea3c47
commit 4e2f5f35db
2 changed files with 34 additions and 46 deletions

View file

@ -3,24 +3,25 @@
#source("~/git/LSHTM_analysis/scripts/plotting/get_plotting_dfs.R")
LogoPlotCustomH (plotdf = merged_df3
LogoPlotCustomH (plot_df = merged_df3
, x_axis_colname = "position"
, y_axis_colname = "or_mychisq"
, symbol_colname = "mutant_type"
, y_axis_log = F
, log_value = log10
, my_logo_col = 'chemistry'
, my_logo_col = 'taylor'
, x_lab = "Position"
, y_lab = "Odds Ratio"
, x_ats = 12 # text size
, x_tangle = 90 # text angle
, y_ats = 22
, y_tangle = 0
, x_tts = 20 # title size
, y_tts = 23
, x_tts = 19 # title size
, y_tts = 22
#, leg_pos = c(0.05,-0.12)
, leg_pos = "top"
, leg_dir = "horizontal"
, leg_ts = 15 # leg text size
, leg_tts = 16 # leg title size
)