ggplot(degs,aes(paste(sample_1,"vs",sample_2),fill=log2FoldChange>1))+geom_bar(position="dodge")+xlab(NULL)+ylab("# DBGs")+ggtitle("DBG count summary by direction of expression")+coord_flip()
#For making comparisons of multiple conditions (not only against the base level of a condition), we have recently implemented contrasts in the development branch. This allows one to fit a single model, then generate log2 fold change estimates, standard errors and tests of null hypotheses for other comparisons.
#+ eval=FALSE, echo=FALSE, include=F
## DEBUG start
if(F){
## DEBUG end
## base means (see http://seqanswers.com/forums/showthread.php?t=28350&page=2)
#' This analysis was performed using [David](http://david.abcc.ncifcrf.gov/). The following ontologies were tested: `r paste(ontologies, collapse=', ')`