wholesale change for Header_TT.R location

This commit is contained in:
Tanushree Tunstall 2022-01-26 11:39:03 +00:00
parent b133b8be24
commit 586927ca56
46 changed files with 46 additions and 46 deletions

View file

@ -8,7 +8,7 @@ setwd("~/git/LSHTM_analysis/scripts")
getwd() getwd()
# load libraries # load libraries
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require("getopt", quietly = TRUE) # cmd parse arguments require("getopt", quietly = TRUE) # cmd parse arguments
# load functions # load functions

View file

@ -6,7 +6,7 @@
########################################################### ###########################################################
# load libraries and functions # load libraries and functions
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
#========================================================== #==========================================================
# combining_dfs_plotting(): # combining_dfs_plotting():

View file

@ -4,7 +4,7 @@
# Odds Ratio from master data # Odds Ratio from master data
######################################################### #########################################################
# load libraries # load libraries
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require("getopt", quietly = TRUE) # cmd parse arguments require("getopt", quietly = TRUE) # cmd parse arguments
# working dir and loading libraries # working dir and loading libraries

View file

@ -1,5 +1,5 @@
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("../functions/lf_bp.R") source("../functions/lf_bp.R")
# ================================================ # ================================================
# Data: run get_plotting_data.R # Data: run get_plotting_data.R

View file

@ -7,7 +7,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("get_plotting_dfs.R") source("get_plotting_dfs.R")

View file

@ -2,7 +2,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
drug = 'streptomycin' drug = 'streptomycin'
gene = 'gid' gene = 'gid'

View file

@ -2,7 +2,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
drug = 'streptomycin' drug = 'streptomycin'
gene = 'gid' gene = 'gid'

View file

@ -15,7 +15,7 @@ getwd()
# 1: Installing and loading required packages and functions # 1: Installing and loading required packages and functions
############################################################ ############################################################
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
source("../functions/bp_subcolours.R") source("../functions/bp_subcolours.R")

View file

@ -14,7 +14,7 @@ getwd()
# 1: Installing and loading required packages and functions # 1: Installing and loading required packages and functions
############################################################ ############################################################
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
source("../functions/bp_subcolours.R") source("../functions/bp_subcolours.R")

View file

@ -9,7 +9,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
# load libraries # load libraries
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -11,7 +11,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(cowplot) require(cowplot)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
source("my_pairs_panel.R") source("my_pairs_panel.R")

View file

@ -2,7 +2,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
spec = matrix(c( spec = matrix(c(
"drug" , "d", 1, "character", "drug" , "d", 1, "character",

View file

@ -9,7 +9,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(tidyverse) library(tidyverse)
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)

View file

@ -10,7 +10,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(tidyverse) library(tidyverse)
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)

View file

@ -7,7 +7,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("../functions/my_pairs_panel.R") # with lower panel turned off source("../functions/my_pairs_panel.R") # with lower panel turned off
source("../functions/plotting_globals.R") source("../functions/plotting_globals.R")
source("../functions/plotting_data.R") source("../functions/plotting_data.R")

View file

@ -10,7 +10,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(cowplot) require(cowplot)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
#source("my_pairs_panel.R") #source("my_pairs_panel.R")

View file

@ -16,7 +16,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -16,7 +16,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -10,7 +10,7 @@ getwd()
########################################################## ##########################################################
# Installing and loading required packages # Installing and loading required packages
########################################################## ##########################################################
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(data.table) require(data.table)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# should return the following dfs, directories and variables # should return the following dfs, directories and variables

View file

@ -11,7 +11,7 @@ getwd()
########################################################## ##########################################################
# Installing and loading required packages # Installing and loading required packages
########################################################## ##########################################################
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
#=========== #===========
# input # input

View file

@ -14,7 +14,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggridges) library(ggridges)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# PS combined: # PS combined:

View file

@ -14,7 +14,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggridges) library(ggridges)
library(plyr) library(plyr)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")

View file

@ -11,7 +11,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") # also loads all my functions source("~/git/LSHTM_analysis/scripts/Header_TT.R") # also loads all my functions
#=========== #===========
# input # input

View file

@ -15,7 +15,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
spec = matrix(c( spec = matrix(c(
"drug" , "d", 1, "character", "drug" , "d", 1, "character",

View file

@ -6,7 +6,7 @@ getwd()
# TASK: # TASK:
######################################################### #########################################################
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
#require(data.table) #require(data.table)
#require(dplyr) #require(dplyr)

View file

@ -6,7 +6,7 @@ library(shinyBS)
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
drug = 'streptomycin' drug = 'streptomycin'
gene = 'gid' gene = 'gid'

View file

@ -11,7 +11,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(cowplot) require(cowplot)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# should return the following dfs, directories and variables # should return the following dfs, directories and variables

View file

@ -9,7 +9,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
#library(ggplot2) #library(ggplot2)
#library(data.table) #library(data.table)
#library(dplyr) #library(dplyr)

View file

@ -9,7 +9,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -9,7 +9,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -10,7 +10,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
#source("combining_dfs_plotting.R") #source("combining_dfs_plotting.R")

View file

@ -12,7 +12,7 @@ getwd()
# 1: Installing and loading required packages and functions # 1: Installing and loading required packages and functions
############################################################# #############################################################
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
source("barplot_colour_function.R") source("barplot_colour_function.R")

View file

@ -14,7 +14,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
# load libraries # load libraries
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -14,7 +14,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
# load libraries # load libraries
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -27,7 +27,7 @@ getwd()
require("getopt", quietly = TRUE) # cmd parse arguments require("getopt", quietly = TRUE) # cmd parse arguments
# load functions # load functions
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("../functions/plotting_globals.R") source("../functions/plotting_globals.R")
source("../functions/plotting_data.R") source("../functions/plotting_data.R")

View file

@ -24,7 +24,7 @@ getwd()
########################################################## ##########################################################
# Installing and loading required packages # Installing and loading required packages
########################################################## ##########################################################
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
#require(data.table) #require(data.table)
#require(arsenal) #require(arsenal)
#require(compare) #require(compare)

View file

@ -11,7 +11,7 @@ setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(cowplot) require(cowplot)
source("../functions/combining_dfs_plotting.R") source("../functions/combining_dfs_plotting.R")

View file

@ -8,7 +8,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("../functions/my_pairs_panel.R") # with lower panel turned off source("../functions/my_pairs_panel.R") # with lower panel turned off
source("../functions/plotting_globals.R") source("../functions/plotting_globals.R")
source("../functions/plotting_data.R") source("../functions/plotting_data.R")

View file

@ -10,7 +10,7 @@ getwd()
########################################################## ##########################################################
# Installing and loading required packages # Installing and loading required packages
########################################################## ##########################################################
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
require(data.table) require(data.table)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# should return the following dfs, directories and variables # should return the following dfs, directories and variables

View file

@ -14,7 +14,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggridges) library(ggridges)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# PS combined: # PS combined:

View file

@ -14,7 +14,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
source("get_plotting_dfs.R") source("get_plotting_dfs.R")

View file

@ -2,7 +2,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
spec = matrix(c( spec = matrix(c(
"drug" , "d", 1, "character", "drug" , "d", 1, "character",

View file

@ -2,7 +2,7 @@
getwd() getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
spec = matrix(c( spec = matrix(c(
"drug" , "d", 1, "character", "drug" , "d", 1, "character",

View file

@ -9,7 +9,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
getwd() getwd()
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggplot2) library(ggplot2)
library(data.table) library(data.table)
library(dplyr) library(dplyr)

View file

@ -21,7 +21,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting") setwd("~/git/LSHTM_analysis/scripts/plotting")
cat(c(getwd(),"\n")) cat(c(getwd(),"\n"))
#source("Header_TT.R") #source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(bio3d) library(bio3d)
require("getopt", quietly = TRUE) # cmd parse arguments require("getopt", quietly = TRUE) # cmd parse arguments
#======================================================== #========================================================

View file

@ -14,7 +14,7 @@ getwd()
setwd("~/git/LSHTM_analysis/scripts/plotting/") setwd("~/git/LSHTM_analysis/scripts/plotting/")
getwd() getwd()
source("Header_TT.R") source("~/git/LSHTM_analysis/scripts/Header_TT.R")
library(ggridges) library(ggridges)
source("combining_dfs_plotting.R") source("combining_dfs_plotting.R")
# PS combined: # PS combined: