Rplot HowTo

From TaejoonLab
Jump to: navigation, search

Hierarchical Clustering

> tbl <- read.table('my_file.txt', header=T, row.names='col_name_for_row_ID')
> hc <- hclust( as.dist( t(1-cor(tbl, method='spearman')) ) )
> plot(hc)