Mercurial > repos > iuc > deseq2
comparison deseq2.R @ 36:d9f48120c02b draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/deseq2 commit 29f5fd6ec10122f7b241c8d36d648b105ed4275a"
| author | iuc |
|---|---|
| date | Sat, 29 Feb 2020 22:07:45 +0000 |
| parents | 4f497a8a72e8 |
| children | 951876579237 |
comparison
equal
deleted
inserted
replaced
| 35:03ad446aab5a | 36:d9f48120c02b |
|---|---|
| 352 independentFiltering=independentFiltering) | 352 independentFiltering=independentFiltering) |
| 353 resSorted <- res[order(res$padj),] | 353 resSorted <- res[order(res$padj),] |
| 354 outDF <- as.data.frame(resSorted) | 354 outDF <- as.data.frame(resSorted) |
| 355 outDF$geneID <- rownames(outDF) | 355 outDF$geneID <- rownames(outDF) |
| 356 outDF <- outDF[,c("geneID", "baseMean", "log2FoldChange", "lfcSE", "stat", "pvalue", "padj")] | 356 outDF <- outDF[,c("geneID", "baseMean", "log2FoldChange", "lfcSE", "stat", "pvalue", "padj")] |
| 357 filename <- paste0(opt$outfile,".",primaryFactor,"_",lvl,"_vs_",ref) | 357 filename <- paste0(primaryFactor,"_",lvl,"_vs_",ref) |
| 358 write.table(outDF, file=filename, sep="\t", quote=FALSE, row.names=FALSE, col.names=FALSE) | 358 write.table(outDF, file=filename, sep="\t", quote=FALSE, row.names=FALSE, col.names=FALSE) |
| 359 if (independentFiltering) { | 359 if (independentFiltering) { |
| 360 threshold <- unname(attr(res, "filterThreshold")) | 360 threshold <- unname(attr(res, "filterThreshold")) |
| 361 } else { | 361 } else { |
| 362 threshold <- 0 | 362 threshold <- 0 |
