Mercurial > repos > bgruening > diffbind
diff diffbind.R @ 9:20c431b4cf74 draft
Uploaded
author | bgruening |
---|---|
date | Tue, 14 Jan 2014 18:07:20 -0500 |
parents | fa67bcb732f6 |
children | b1b96b6ed60c |
line wrap: on
line diff
--- a/diffbind.R Tue Jan 14 08:13:24 2014 -0500 +++ b/diffbind.R Tue Jan 14 18:07:20 2014 -0500 @@ -23,8 +23,8 @@ # if help was asked for print a friendly message # and exit with a non-zero error code if ( !is.null(opt$help) ) { - cat(getopt(spec, usage=TRUE)); - q(status=1); + cat(getopt(spec, usage=TRUE)); + q(status=1); } @@ -33,11 +33,11 @@ library('rtracklayer') if ( !is.null(opt$plots) ) { - pdf(opt$plots) + pdf(opt$plots) } -sample = dba(sampleSheet=opt$infile) +sample = dba(sampleSheet=opt$infile, peakFormat='bed') sample_count = dba.count(sample) sample_contrast = dba.contrast(sample_count, categories=DBA_CONDITION) sample_analyze = dba.analyze(sample_contrast)