From 64cda2d5bed2a119f132de21d5f5f258b3f77382 Mon Sep 17 00:00:00 2001 From: Tanushree Tunstall Date: Fri, 9 Sep 2022 19:37:19 +0100 Subject: [PATCH] faff --- drug-target/global.R | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/drug-target/global.R b/drug-target/global.R index 2ffcbdf..834c290 100644 --- a/drug-target/global.R +++ b/drug-target/global.R @@ -23,6 +23,8 @@ library(feather) load_dir="~/git/" #load_dir="/srv/shiny-server/git/" +set_null_device("cairo") # makes Unicode errors go away + source(paste0(load_dir, "LSHTM_analysis/scripts/Header_TT.R")) load_target_globals=function(target){ @@ -301,7 +303,7 @@ consurf_colours = c( ) # if (true()){ - if (interactive()){ +if (interactive()){ options(shiny.launch.browser = FALSE) # i am a big girl and can tie my own laces options(shiny.port = 8000) # don't change the port every time options(shiny.host = '0.0.0.0') # This means "listen to all addresses on all interfaces" @@ -593,7 +595,7 @@ consurf_colours = c( column(conditionalPanel( condition="input.sidebar == 'Site SNP count'", box( - title="NCA Distance" + title="RNA Distance" , status = "info" , width=NULL , plotOutput("site_snp_count_nca") %>% withSpinner(color="#0dc5c1") @@ -768,9 +770,18 @@ consurf_colours = c( # different data ranges required for SNP distances - snp_ligand_dist_df3 = merged_df3[merged_df3$ligand_distance