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

c(
    bibentry(bibtype="manual",
        title = "deconvR: Simulation and Deconvolution of Omic Profiles",
        author = personList(
        as.person("Irem B. Gunduz"),
        as.person("Veronika Ebenal"),
        as.person("Altuna Akalin")
        ),
        year = format(Sys.Date(), "%Y"),
        url = "http://www.bioconductor.org/packages/deconvR",
        note = pkgVer('deconvR'),
        doi = '10.18129/B9.bioc.deconvR'
    )
)