Skip to content

Commit

Permalink
Added missing ggplot2 import.
Browse files Browse the repository at this point in the history
Added WT_con vs KO_chol comparison.
  • Loading branch information
roryk committed Feb 10, 2014
1 parent a41e723 commit a681184
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions widenmaier_rnaseq/scripts/edgeR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ library(HTSFilter)
library(googleVis)
library(extrafont)
library(reshape)
library(ggplot2)
#x = font_import(pattern="Gill Sans", prompt=FALSE)
```

Expand Down Expand Up @@ -325,6 +326,20 @@ write.table(KO_vs_KO_chol, "KO_vs_KO_de.txt", quote=FALSE, row.names=FALSE,
sep="\t")
```

# WT control vs KO cholesterol treated
```{r WT_Con_vs_KO_chol, results='asis'}
et = exactTest(edgeR.dgelist, pair=c("WT_Con", "KO_Chol"))
et = HTSFilter(et, DGEList=edgeR.dgelist, s.len=25, plot=FALSE)$filteredData
et_table = et$table
et_table$FDR = p.adjust(et_table$PValue, method="BH")
de_table = subset(et_table, FDR < 0.10)
de_table$id = rownames(de_table)
WT_vs_KO_chol = annotate_df(de_table)
print(gvisTable(WT_vs_KO_chol), "chart", options=list(width=900))
write.table(WT_vs_KO_chol, "WT_vs_KO_chol_de.txt", quote=FALSE, row.names=FALSE,
sep="\t")
```

# GO ontology analysis
```{r go-ontology-example}
library(goseq)
Expand Down

0 comments on commit a681184

Please sign in to comment.