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

c(

    bibentry(bibtype="manual",
        title = "SpotSweeper: Spot and artifact-level quality control for spatially-resolved transcriptomics data",
        author = personList(
            as.person("MicTott")
        ),
        year = format(Sys.Date(), "%Y"),
        url = "http://www.bioconductor.org/packages/SpotSweeper",
        note = pkgVer('SpotSweeper'),
        doi = '10.18129/B9.bioc.SpotSweeper'
    ),
    bibentry(bibtype="article",
        title = "SpotSweeper: Spot and artifact-level quality control for spatially-resolved transcriptomics data",
        author = personList(
            as.person("MicTott")
        ),
        year = format(Sys.Date(), "%Y"),
        journal = "bioRxiv",
        doi = "10.1101/TODO",
        url = "https://www.biorxiv.org/content/10.1101/TODO"
    )
)
