#' [CuffDiff](http://cufflinks.cbcb.umd.edu/manual.html) and [cummeRbund](http://compbio.mit.edu/cummeRbund/) were used to perform this analysis. For details about how the test for differntial expression works, refer to [Differential analysis of gene regulation at transcript resolution with RNA-seq](http://www.nature.com/nbt/journal/v31/n1/full/nbt.2450.html).
ggplot(degs,aes(paste(sample_1,"vs",sample_2),fill=sample_1_overex))+geom_bar(position="dodge")+xlab(NULL)+ylab("# DGEs")+ggtitle("DGE counts by direction")+coord_flip()
ggplot(degs,aes(paste(sample_1,"vs",sample_2),fill=sample_1_overex))+geom_bar(position="dodge")+xlab(NULL)+ylab("# DGEs")+ggtitle("DGE counts by direction")+coord_flip()
#' This analysis was performed using [David](http://david.abcc.ncifcrf.gov/). The following ontologies were tested: `r paste(ontologies, collapse=',')`
require(RDAVIDWebService)## just works if installed on non-network-drive (e.g. /tmp/)
geneLists<-degs%>%
...
...
@@ -262,7 +275,7 @@ geneLists <- degs %>%
davidAnnotationChart<-function(someGenes){## expexted to have a column with gene_id
echo("processing list with",length(someGenes),"genes")
# echo("processing list with", length(someGenes), "genes")
# someGenes <- degs$gene_id
...
...
@@ -277,19 +290,7 @@ davidAnnotationChart <- function(someGenes){ ## expexted to have a column with g