Skip to content

Instantly share code, notes, and snippets.

View aseetharam's full-sized avatar
🏠
Working from home

Arun Seetharam aseetharam

🏠
Working from home
View GitHub Profile
@aseetharam
aseetharam / heatmap_pca_metabolomics.R
Last active August 29, 2015 14:28
Clustering metabolomics data for different tissues from various location
library(Heatplus)
library(vegan)
library(RColorBrewer)
library("gplots")
all.data <- read.csv("C:/Users/Arun Seetharam/OneDrive/PostDoc/Projects/20150303_Perera_metabolomics/bloodroot_data_v2d.csv", quote="")
row.names(all.data) <- all.data$ID
all.data <- all.data[, -1]
data.prop <- all.data/rowSums(all.data)
scaleyellowred <- colorRampPalette(c("lightyellow", "red"), space = "rgb")(100)
heatmap(as.matrix(data.prop), Rowv = NA, Colv = NA, col = scaleyellowred)
"""==============================
Branded IPython Notebook Launcher
=================================
Executing this module will create an overlay over ipython notebooks own static
files and templates and overrides static files and templates and copies over all
example notebooks into a temporary folder and launches the ipython notebook server.
You can use this to offer an interactive tutorial for your library/framework/...