Mercurial > repos > bornea > saint_bubblebeam
comparison bubbles_v9_NSAF_natural_log.R @ 4:8eb1dd926f6e draft
Uploaded
author | bornea |
---|---|
date | Thu, 19 Nov 2015 10:26:48 -0500 |
parents | 463a0ca33d7f |
children | 79285a7acfbf |
comparison
equal
deleted
inserted
replaced
3:463a0ca33d7f | 4:8eb1dd926f6e |
---|---|
225 ################################################################################################### | 225 ################################################################################################### |
226 cutoff_check <- function(cutoff){ | 226 cutoff_check <- function(cutoff){ |
227 if( any(cutoff < 0 | cutoff > 1) ) stop('SAINT score cutoff not between 0 and 1. Please correct and try again') | 227 if( any(cutoff < 0 | cutoff > 1) ) stop('SAINT score cutoff not between 0 and 1. Please correct and try again') |
228 } | 228 } |
229 | 229 |
230 #args <- commandArgs(trailingOnly = TRUE) | 230 args <- commandArgs(trailingOnly = TRUE) |
231 #main(args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9]) | 231 main(args[1],args[2],args[3],args[4],args[5],args[6],args[7],args[8],args[9]) |
232 | 232 |
233 #main("test_list.txt", "preytest.txt", crapome="craptest.txt", color="crapome", label=TRUE) | 233 #main("test_list.txt", "preytest.txt", crapome="craptest.txt", color="crapome", label=TRUE) |
234 #main("Crizo_list.txt", "prey_cr.txt", crapome = "crizo_crap.txt", color="crapome", label=TRUE, cutoff=0.7) | 234 #main("Crizo_list.txt", "prey_cr.txt", crapome = "crizo_crap.txt", color="crapome", label=TRUE, cutoff=0.7) |
235 #main("test_list.txt", "preytest.txt", crapome=FALSE, color="magenta", label=FALSE, cutoff=1.1) | 235 #main("test_list.txt", "preytest.txt", crapome=FALSE, color="magenta", label=FALSE, cutoff=1.1) |