LSHTM_analysis/scripts/functions/logo_plots_func.R

25 lines
681 B
R

#logo plots
# create functions
# one with OR
# --> select/drop down option to remove empty positions
# --> select/drop down option for colour
# --> if clustalx and taylor, set variable to black bg + white font
# --> if chemistry and hydrophobicity, then grey bg + black font
# --> select/drop down option for log scale
# --> should include WT
# one for multiple muts
# --> select/drop down option to filter count of nsSNPs
# --> select/drop down option for colour
# --> should include WT
# Data used
wide_df_or # or logo plot
wide_df_or_mult # > 1 sites
wide_df_logor_m #make it as a scale option
tab_mt # mutant logo plot
tab_wt # wt logo plot