User Tools

Site Tools


mkatari-bioinformatics-august-2013-deseq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mkatari-bioinformatics-august-2013-deseq [2015/06/17 08:19] mkatarimkatari-bioinformatics-august-2013-deseq [2015/06/17 08:42] mkatari
Line 85: Line 85:
 #To get the genes that have FDR of 10% and save it in the output directory. #To get the genes that have FDR of 10% and save it in the output directory.
 <code> <code>
-resSig = res[ which(res$padj < 0.1), ]+resSigind = res[ which(res$padj < 0.1 & res$log2FoldChange > 1), ] 
 +resSigrep = res[ which(res$padj < 0.1 & res$log2FoldChange < -1), ]
  
-outfile = "Deseq.results.txt" +indoutfile = "Deseq.indresults.txt"  
 +repoutfile = "Deseq.represults.txt" 
  
-write.table(resSig,  +write.table(resSigind,  
-            outfile+            indoutfile,  
 +            sep="\t",  
 +            col.names=T,  
 +            row.names=F, 
 +            quote=F) 
 + 
 +write.table(resSigrep,  
 +            repoutfile
             sep="\t",              sep="\t", 
             col.names=T,              col.names=T, 
mkatari-bioinformatics-august-2013-deseq.txt · Last modified: 2015/08/21 14:13 by mkatari