Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Pradyumna Jayaram pradyumnasagar

🎯
Focusing
View GitHub Profile
View Heatmaps.r
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