Mercurial > repos > mingchen0919 > aurora_demo_site
view aurora_demo_site_3_r.Rmd @ 1:5808dc52afe8 draft default tip
demo
author | mingchen0919 |
---|---|
date | Mon, 12 Mar 2018 11:49:18 -0400 |
parents | |
children |
line wrap: on
line source
--- title: 'R script' output: html_document --- ```{r setup, include=FALSE, warning=FALSE, message=FALSE} knitr::opts_chunk$set( echo = TRUE, error = TRUE ) ``` Finally, we use R script to import the data and generate a heatmap. ```{r warning=FALSE, message=FALSE} heatmap_data = read.table(opt$X_O, header = FALSE, stringsAsFactors = FALSE) knitr::kable(heatmap_data) pheatmap::pheatmap(heatmap_data, cluster_rows = FALSE, cluster_cols = FALSE) ```