saving work and tidying script

This commit is contained in:
Tanushree Tunstall 2021-09-15 19:37:39 +01:00
parent 6d542e7634
commit a5b6edab39

View file

@ -26,11 +26,18 @@ ColourPalleteMulti = function(df, group, subgroup){
} }
######################################################################### #########################################################################
########################
# Generate bp with
# colour palette derived
# from the data using
# above function
#########################
bp_stability_hmap <- function(plotdf = merged_df3 bp_stability_hmap <- function(plotdf = merged_df3
, xvar_colname = "position" , xvar_colname = "position"
#, bar_col_colname = "group" #, bar_col_colname = "group"
, stability_colname = "duet_scaled" , stability_colname = ""
, stability_outcome_colname = "duet_outcome" , stability_outcome_colname = ""
, p_title = "" # "Protein stability (DUET)" , p_title = "" # "Protein stability (DUET)"
, my_xaxls = 12 # x-axis label size , my_xaxls = 12 # x-axis label size
, my_yaxls = 20 # y-axis label size , my_yaxls = 20 # y-axis label size