Mercurial > repos > iuc > dexseq
diff dexseq.R @ 5:278b189248cd draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/dexseq commit c027cb925607cda29bb1e78fe76716af49a276ca
author | iuc |
---|---|
date | Mon, 14 Jan 2019 05:02:19 -0500 |
parents | 6e8b61c54ff3 |
children | 62adf13b86ea |
line wrap: on
line diff
--- a/dexseq.R Tue Dec 11 00:19:18 2018 -0500 +++ b/dexseq.R Mon Jan 14 05:02:19 2019 -0500 @@ -21,6 +21,7 @@ 'gtf', 'a', 1, "character", 'outfile', 'o', 1, "character", 'reportdir', 'r', 1, "character", + 'rds', 'd', 1, "character", 'factors', 'f', 1, "character", 'threads', 'p', 1, "integer", 'fdr', 'c', 1, "double" @@ -110,10 +111,11 @@ write.table(export_table, file = opt$outfile, sep="\t", quote = FALSE, col.names = FALSE) print("Written Results") +if ( !is.null(opt$rds) ) { + saveRDS(res, file="DEXSeqResults.rds") +} + if ( !is.null(opt$reportdir) ) { - save(dxd, resSorted, file = file.path(opt$reportdir,"DEXSeq_analysis.RData")) - save.image() DEXSeqHTML(res, fitExpToVar=primaryFactor, path=opt$reportdir, FDR=opt$fdr, color=c("#B7FEA0", "#FF8F43", "#637EE9", "#FF0000", "#F1E7A1", "#C3EEE7","#CEAEFF", "#EDC3C5", "#AAA8AA")) - unlink(file.path(opt$reportdir,"DEXSeq_analysis.RData")) } sessionInfo()