pkgVer <- function(pkg) {
    if (!exists("meta") || is.null(meta)) meta <- packageDescription(pkg)
    ver <- meta$Version
    paste0('https://github.com/eolagbaju/ODER/', pkg, ' - R package version ', ver)
}

c(

    bibentry(bibtype="manual",
        title = "Optimising the Definition of Expressed Regions",
        author = personList(
            as.person("eolagbaju")
        ),
        year = format(Sys.Date(), "%Y"),
        url = "http://www.bioconductor.org/packages/ODER",
        note = pkgVer('ODER'),
        doi = '10.18129/B9.bioc.ODER'
    ),
    bibentry(bibtype="article",
        title = "Optimising the Definition of Expressed Regions",
        author = personList(
            as.person("eolagbaju")
        ),
        year = format(Sys.Date(), "%Y"),
        journal = "bioRxiv",
        doi = "10.1101/TODO",
        url = "https://www.biorxiv.org/content/10.1101/TODO"
    )
)
