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

c(

    bibentry(bibtype="manual",
        title = "Enable downstream analysis of Visium capture areas stitched together with Fiji",
        author = personList(
            as.person("Nicholas J. Eagles"),
            as.person("Leonardo Collado-Torres")
        ),
        year = format(Sys.Date(), "%Y"),
        url = "http://www.bioconductor.org/packages/visiumStitched",
        note = pkgVer('visiumStitched'),
        doi = '10.18129/B9.bioc.visiumStitched'
    ),
    bibentry(bibtype="article",
        title = "visiumStitched",
        author = personList(
            as.person("Nicholas J. Eagles"),
            as.person("Svitlana Bach"),
            as.person("Madhavi Tippani"),
            as.person("Prashanthi Ravichandran"),
            as.person("Yufeng Du"),
            as.person("Ryan A. Miller"),
            as.person("Thomas M. Hyde"),
            as.person("Stephanie C. Page"),
            as.person("Keri Martinowich"),
            as.person("Leonardo Collado-Torres")
        ),
        year = "2024",
        journal = "BMC Genomics",
        doi = "10.1186/s12864-024-10991-y",
        url = "doi.org/10.1186/s12864-024-10991-y"
    )
)
