updated and tested logoP_snp.R. All done nicely

This commit is contained in:
Tanushree Tunstall 2022-01-15 13:17:26 +00:00
parent 0334188801
commit 9546355241
4 changed files with 155 additions and 99 deletions

View file

@ -6,20 +6,19 @@
LogoPlotSnps(plot_df = merged_df3
, x_axis_colname = "position"
, symbol_mut_colname = "mutant_type"
, symbol_wt_colname = "mutant_type"
, symbol_wt_colname = "wild_type"
, omit_snp_count = c(0)# can be 1, 2, etc.
, my_logo_col = "chemistry"
, x_lab = "Position"
, y_lab = "Count"
, x_ats = 1 # text size
, my_logo_col = "taylor"
, x_lab = "Wild-type position"
, y_lab = ""
, x_ats = 13 # text size
, x_tangle = 90 # text angle
, y_ats = 1
, y_ats = 20
, y_tangle = 0
, x_tts = 20 # title size
, y_tts = 20
, x_tts = 18 # title size
, y_tts = 18
, leg_pos = "top" # can be top, left, right and bottom or c(0.8, 0.9)
, leg_dir = "horizontal" #can be vertical or horizontal
, leg_ts = 20 # leg text size
, leg_ts = 14 # leg text size
, leg_tts = 16 # leg title size
)