calculating af_or using function and cmd options now

This commit is contained in:
Tanushree Tunstall 2021-06-11 15:12:08 +01:00
parent 5f82c8b393
commit 6e8116bc16
5 changed files with 156 additions and 11 deletions

View file

@ -1,15 +1,16 @@
my_afor <- function ( infile_master
my_afor <- function ( drug
, gene
, infile_master
, infile_metadata
, outfile
, drug
, gene
, idcol = "id"
, idcol
, dr_muts_col
, other_muts_col){
#===========================================
# 1: Read master/raw data stored in Data/
#===========================================
cat(infile_master)
raw_data_all = read.csv(infile_master, stringsAsFactors = F)
cat("\nExtracting columns based on variables:\n"