pkgVer <- function(pkg) {
    if (!exists("meta") || is.null(meta)) meta <- packageDescription(pkg)
    ver <- meta$Version
    paste0('https://github.com/leekgroup/', pkg, ' - R package version ', ver)
}
c(
    bibentry(bibtype="manual",
        title = "derfinderPlot: Plotting functions for derfinder",
        author = personList(
            as.person("Leonardo Collado-Torres"),
            as.person("Andrew E. Jaffe"),
            as.person("Jeffrey T. Leek")
        ),
        year = 2017,
        url = "http://www.bioconductor.org/packages/derfinderPlot",
        note = pkgVer('derfinderPlot'),
        doi = '10.18129/B9.bioc.derfinderPlot'
    ),
    bibentry(bibtype="article",
        title = "Flexible expressed region analysis for RNA-seq with derfinder",
        author = personList(
            as.person("Leonardo Collado-Torres"),
            as.person("Abhinav Nellore"),
            as.person("Alyssa C. Frazee"),
            as.person("Christopher Wilks"),
            as.person("Michael I. Love"),
            as.person("Ben Langmead"),
            as.person("Rafael A. Irizarry"),
            as.person("Jeffrey T. Leek"),
            as.person("Andrew E. Jaffe")
        ),
        year = 2017,
        journal = "Nucl. Acids Res.",
        doi = "10.1093/nar/gkw852",
        url = "http://nar.oxfordjournals.org/content/early/2016/09/29/nar.gkw852"
    )
)
