Skip to content

Commit

Permalink
Merge pull request Carrion-lab#2 from ismathsadhir/ismathsadhir-patch-1
Browse files Browse the repository at this point in the history
Update classifier.R to correct variable 'columns2use' to 'column2use'
  • Loading branch information
Carrion-lab authored Mar 18, 2024
2 parents bcc06a0 + 2adac8f commit 78415ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classifier_src/classifier.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ args = commandArgs(trailingOnly=TRUE)
###Load metadata
mapping_file <- read.table(args[1], header = T)
column2use <- args[3]
mapping_file <- mapping_file[,c('Sample', columns2use)]
mapping_file <- mapping_file[,c('Sample', column2use)]
colnames(mapping_file)[2] <- 'Lifestyle'
###load and filter matrix
matrix <- read_delim(args[2], col_names = T, quote = "\"")
Expand Down

0 comments on commit 78415ae

Please sign in to comment.