Skip to content

Instantly share code, notes, and snippets.

View pradyumnasagar's full-sized avatar
🎯
Focusing

Pradyumna Jayaram pradyumnasagar

🎯
Focusing
View GitHub Profile
@pradyumnasagar
pradyumnasagar / Heatmaps.r
Last active May 10, 2016 12:43 — forked from jnhutchinson/Heatmaps.r
Heatmaps
source("http://bioconductor.org/biocLite.R") #adds bioconductor site as a package source
BiocLite("pheatmap") #downloads and install pheatmap package from bioconductor
library(pheatmap) #loads pheatmap package
install.packages("RColorBrewer") #donwnloads and installs a package with useful color themes
Library(RColorBrewer) #load RcolorBrewer package
#LOAD DATA
data=read.delim("KO-WT-OV-3way.sig.batch.exprs.xls") #read in expression values for significantly correlated probesets
data=data[,1:6] #subsets data remove the gene symbols, names or EntrezIDs