diff --git a/R_workshop.2.Rmd b/R_workshop.2.Rmd index 18ea3e5..542c3a2 100644 --- a/R_workshop.2.Rmd +++ b/R_workshop.2.Rmd @@ -2,14 +2,14 @@ title: "R Workshop -- Day 2" author: "Franziska Metge" output: - pdf_document: default html_document: default + pdf_document: default --- ```{r "setup", include=FALSE} require("knitr") -opts_knit$set(root.dir = "~/bit_R_workshop/") +opts_knit$set(root.dir = "~/bit_R_workshop") ``` @@ -571,6 +571,7 @@ pheatmap(data_subset) ```{r, eval = TRUE, echo = FALSE} +library(pheatmap) pheatmap(as.matrix(airway.D[1:300, -1]), scale = 'row') ``` diff --git a/R_workshop.2.html b/R_workshop.2.html index 16fc492..b5f1c61 100644 --- a/R_workshop.2.html +++ b/R_workshop.2.html @@ -1092,7 +1092,6 @@

Heatmap

# create heatmap using pheatmap pheatmap(data_subset) -

Hands On