# HG changeset patch # User bgruening # Date 1389693874 18000 # Node ID fa67bcb732f6e6ff513646552eb82313012cf523 # Parent da65ae70e2e1d8537f86f8155a930b71878a9fd9 Uploaded diff -r da65ae70e2e1 -r fa67bcb732f6 diffbind.R --- a/diffbind.R Tue Jan 14 03:32:39 2014 -0500 +++ b/diffbind.R Tue Jan 14 05:04:34 2014 -0500 @@ -10,13 +10,14 @@ #get options, using the spec as defined by the enclosed list. #we read the options from the default: commandArgs(TRUE). spec = matrix(c( - 'verbose', 'v', 2, "integer", - 'help' , 'h', 0, "logical", - 'outfile' , 'o', 1, "character", - 'plots' , 'p', 2, "character", - 'infile' , 'i', 1, "character", - 'format', 'f', 1, 'character', + 'verbose', 'v', 2, "integer", + 'help' , 'h', 0, "logical", + 'outfile' , 'o', 1, "character", + 'plots' , 'p', 2, "character", + 'infile' , 'i', 1, "character", + 'format', 'f', 1, 'character' ), byrow=TRUE, ncol=4); + opt = getopt(spec); # if help was asked for print a friendly message @@ -27,9 +28,9 @@ } -library(DiffBind) +library('DiffBind') # used to save to BED, GFF or WIG format -library(rtracklayer) +library('rtracklayer') if ( !is.null(opt$plots) ) { pdf(opt$plots)