0
|
1 ---
|
|
2 output: html_document
|
|
3 ---
|
|
4
|
|
5 ```{r setup, include=FALSE, warning=FALSE, message=FALSE}
|
|
6 knitr::opts_chunk$set(
|
|
7 echo = as.logical(opt$X_e),
|
|
8 error = TRUE
|
|
9 )
|
|
10 ```
|
|
11
|
|
12
|
|
13 ```{r eval=TRUE}
|
|
14 # Import workspace
|
|
15 # fcp = file.copy(opt$X_W, "deseq.RData")
|
|
16 load(opt$X_W)
|
|
17 ```
|
|
18
|
|
19 # Results {.tabset}
|
|
20
|
|
21 ## Result table
|
|
22
|
|
23 ```{r}
|
|
24 cat('--- View the top 100 rows of the result table ---')
|
|
25 res <- results(dds, contrast = c(opt$X_C, opt$X_T, opt$X_K))
|
|
26 write.csv(as.data.frame(res), file = opt$X_R)
|
|
27 res_df = as.data.frame(res)[1:100, ]
|
|
28 datatable(res_df, style="bootstrap", filter = 'top',
|
|
29 class="table-condensed", options = list(dom = 'tp', scrollX = TRUE))
|
|
30 ```
|