minor updates to dir.R

This commit is contained in:
Tanushree Tunstall 2021-06-04 15:05:52 +01:00
parent 7242b3516b
commit 4f60e93abb
4 changed files with 11 additions and 418 deletions

View file

@ -15,8 +15,6 @@ library(ggplot2)
library(data.table)
library(dplyr)
require("getopt", quietly = TRUE) #cmd parse arguments
source("dirs.R")
#========================================================
# command line args
spec = matrix(c(
@ -37,8 +35,13 @@ gene = "gid"
if(is.null(drug)|is.null(gene)) {
stop("Missing arguments: --drug and --gene must both be specified (case-sensitive)")
}
#========================================================
# Load functions
# import dir structure
source("dirs.R")
import_dirs(drug, gene)
#=======================================================
#======
# input
#======