adding legend forlogo plot

This commit is contained in:
Tanushree Tunstall 2022-01-14 10:18:01 +00:00
parent 426a5cb0b5
commit 3b7cea3c47
4 changed files with 60 additions and 55 deletions

View file

@ -7,21 +7,20 @@ LogoPlotCustomH (plotdf = merged_df3
, x_axis_colname = "position"
, y_axis_colname = "or_mychisq"
, symbol_colname = "mutant_type"
, y_axis_log = T
, y_axis_log = F
, log_value = log10
, my_logo_col = 'hydrophobicity'
#, theme_bgc
# , xfont_bgc
# , yfont_bgc
, my_logo_col = 'chemistry'
, 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 = 25 # title size
, y_tts = 20
, leg_pos = "none"
, x_tts = 20 # title size
, y_tts = 23
#, 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
)