annotate DESeq_04.Rmd @ 0:6f94b4b9de44 draft

planemo upload
author mingchen0919
date Tue, 27 Feb 2018 23:57:53 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
1 ---
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
2 output: html_document
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
3 ---
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
4
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
5 ```{r setup, include=FALSE, warning=FALSE, message=FALSE}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
6 knitr::opts_chunk$set(
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
7 echo = as.logical(opt$X_e),
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
8 error = TRUE
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
9 )
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
10 ```
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
11
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
12
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
13
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
14 # Sample distance on variance stabilized data {.tabset}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
15
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
16 ## `rlog` Stabilizing transformation
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
17
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
18 ```{r}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
19 rld = rlog(dds, blind = FALSE)
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
20 datatable(head(assay(rld), 100), style="bootstrap",
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
21 class="table-condensed", options = list(dom = 'tp', scrollX = TRUE))
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
22 ```
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
23
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
24 ## Sample distance
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
25
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
26 ```{r}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
27 sampleDists <- dist(t(assay(rld)))
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
28 sampleDists
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
29 ```