Commands
K-means Clustering
  kmeans_clust <- kmeans(expression, 10)
Hierarchical Clustering
  dist_mat <- dist(expression, method = "euclidean")
  hier_clust <- hclust(dist_mat, method="ward") 
  plot(hier_clust)
  kmeans_clust <- kmeans(expression, 10)
  dist_mat <- dist(expression, method = "euclidean")
  hier_clust <- hclust(dist_mat, method="ward") 
  plot(hier_clust)
Cheatsheets is a collection of bioinformatics cheat sheets we've written. Email coding4medicine with suggestions and changes. Theme credit - rstacruz.