User Tools

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mkatari-bioinformatics-august-2013-clustering [2015/06/17 12:32]
mkatari-bioinformatics-august-2013-clustering [2015/06/17 13:26] (current)
Line 7: Line 7:
 [[|resSig.txt]] [[|resSig.txt]]
 [[|normalized.txt]] [[|normalized.txt]]
 +In case you didn't get DESeq to work download and load the files above
 +resSig = read.table("resSig.txt", header=T)
 +normalized = read.table("normalized.txt", header=T, row.names=1)
 Get the significant genes Get the significant genes
Line 15: Line 23:
 Get the normalized values for the significant genes Get the normalized values for the significant genes
 <code> <code>
-sigGenes.normalized = normalized[sigGenes,]+sigGenes.normalized = normalized[as.character(sigGenes),]
 </code> </code>
Line 171: Line 179:
 <code> <code>
 library(gplots) library(gplots)
 </code> </code>
Line 190: Line 199:
 <code> <code>
 pdf("heatmap.pdf") pdf("heatmap.pdf")
-heatmap.2(sigGenes.normalized, +heatmap.2(as.matrix(sigGenes.normalized)
           col=redgreen(75),           col=redgreen(75),
           hclustfun=hclust2,           hclustfun=hclust2,
mkatari-bioinformatics-august-2013-clustering.1434544329.txt.gz · Last modified: 2015/06/17 12:32 by mkatari