SNP -> SAV for thesis plots
This commit is contained in:
parent
777d3765cf
commit
db7e2912e1
31 changed files with 145 additions and 145 deletions
|
@ -68,7 +68,7 @@ mLigP = stability_count_bp(plotdf = df3_lig
|
|||
, df_colname = "ligand_outcome"
|
||||
#, leg_title = "mCSM-lig"
|
||||
#, bp_plot_title = paste(common_bp_title, "ligand")
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "none"
|
||||
, subtitle_text = "mCSM\nLig"
|
||||
, bar_fill_values = c("#F8766D", "#00BFC4")
|
||||
|
@ -116,7 +116,7 @@ if (tolower(gene)%in%geneL_ppi2){
|
|||
#, label_categories = labels_ppi2
|
||||
#, bp_plot_title = paste(common_bp_title, "PP-interface")
|
||||
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "none"
|
||||
, subtitle_text = "mCSM\nPPI2"
|
||||
, bar_fill_values = c("#F8766D", "#00BFC4")
|
||||
|
@ -141,7 +141,7 @@ if (tolower(gene)%in%geneL_na){
|
|||
#, label_categories =
|
||||
#, bp_plot_title = paste(common_bp_title, "Dist to NA")
|
||||
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "none"
|
||||
, subtitle_text = "mCSM\nNA"
|
||||
, bar_fill_values = c("#F8766D", "#00BFC4")
|
||||
|
@ -165,7 +165,7 @@ common_bp_title = paste0("Sites <", DistCutOff, angstroms_symbol)
|
|||
|
||||
posC_lig = site_snp_count_bp(plotdf = df3_lig
|
||||
, df_colname = "position"
|
||||
, xaxis_title = "Number of nsSNPs"
|
||||
, xaxis_title = "Number of SAVs"
|
||||
, yaxis_title = "Number of Sites"
|
||||
, subtitle_colour = "chocolate4"
|
||||
, subtitle_text = ""
|
||||
|
@ -183,7 +183,7 @@ posC_lig
|
|||
if (tolower(gene)%in%geneL_ppi2){
|
||||
posC_ppi2 = site_snp_count_bp(plotdf = df3_ppi2
|
||||
, df_colname = "position"
|
||||
, xaxis_title = "Number of nsSNPs"
|
||||
, xaxis_title = "Number of SAVs"
|
||||
, yaxis_title = "Number of Sites"
|
||||
, subtitle_colour = "chocolate4"
|
||||
, subtitle_text = ""
|
||||
|
@ -202,7 +202,7 @@ if (tolower(gene)%in%geneL_ppi2){
|
|||
if (tolower(gene)%in%geneL_na){
|
||||
posC_nca = site_snp_count_bp(plotdf = df3_na
|
||||
, df_colname = "position"
|
||||
, xaxis_title = "Number of nsSNPs"
|
||||
, xaxis_title = "Number of SAVs"
|
||||
, yaxis_title = "Number of Sites"
|
||||
, subtitle_colour = "chocolate4"
|
||||
, subtitle_text = ""
|
||||
|
@ -220,7 +220,7 @@ if (tolower(gene)%in%geneL_na){
|
|||
#------------------------------
|
||||
posC_all = site_snp_count_bp(plotdf = df3
|
||||
, df_colname = "position"
|
||||
, xaxis_title = "Number of nsSNPs"
|
||||
, xaxis_title = "Number of SAVs"
|
||||
, yaxis_title = "Number of Sites"
|
||||
, subtitle_colour = "chocolate4"
|
||||
, subtitle_text = "All mutations sites"
|
||||
|
@ -238,7 +238,7 @@ consurfP = stability_count_bp(plotdf = df3
|
|||
, df_colname = "consurf_outcome"
|
||||
#, leg_title = "ConSurf"
|
||||
#, label_categories = labels_consurf
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "top"
|
||||
, subtitle_text = "ConSurf"
|
||||
, bar_fill_values = consurf_colours_no_isd # from globals
|
||||
|
@ -267,7 +267,7 @@ duetP = stability_count_bp(plotdf = df3
|
|||
, df_colname = "duet_outcome"
|
||||
, leg_title = "mCSM-DUET"
|
||||
#, label_categories = labels_duet
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "none"
|
||||
, subtitle_text = "mCSM-DUET"
|
||||
, bar_fill_values = c("#F8766D", "#00BFC4")
|
||||
|
@ -336,7 +336,7 @@ proveanP = stability_count_bp(plotdf = df3
|
|||
, df_colname = "provean_outcome"
|
||||
#, leg_title = "PROVEAN"
|
||||
#, label_categories = labels_provean
|
||||
, yaxis_title = "Number of nsSNPs"
|
||||
, yaxis_title = "Number of SAVs"
|
||||
, leg_position = "none" # top
|
||||
, subtitle_text = "PROVEAN"
|
||||
, bar_fill_values = c("#D01C8B", "#F1B6DA") # light pink and deep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue