annotate rmarkdown_deseq2_count_matrix.Rmd @ 0:c1f718dd6c7a draft

planemo upload
author mingchen0919
date Sat, 30 Dec 2017 00:25:38 -0500
parents
children 629323b5fc0c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
1 ---
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
2 title: 'DESeq2 analysis'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
3 output:
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
4 html_document:
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
5 number_sections: true
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
6 toc: true
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
7 theme: cosmo
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
8 highlight: tango
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
9 ---
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
10
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
11 ```{r setup, include=FALSE, warning=FALSE, message=FALSE}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
12 knitr::opts_chunk$set(
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
13 echo = opt$echo,
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
14 error = TRUE
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
15 )
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
16 ```
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
17
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
18
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
19 ## User input
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
20
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
21 ```{r 'user input'}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
22 df = data.frame(name = names(opt)[-1],
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
23 value = unlist(opt))
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
24 df
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
25 ```
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
26
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
27
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
28 ## Count Matrix
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
29
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
30 ```{r 'count matrix'}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
31 count_data = read.table(opt$count_data)
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
32 head(count_data, 10)
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
33 ```
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
34
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
35 ```{r 'ste[ 2'}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
36
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
37 ```
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
38
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
39