citHeader("To cite the mi4p package in publications use:")

titl <- meta$Title
titl <- "mi4p: multiple imputation for proteomics"
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)
auth <- c(person(given="Marie", family="Chion"), person(given="Christine", family="Carapito"), person(given="Frederic", family="Bertrand"))
doi <- paste0("10.32614/CRAN.package.", meta$Package)
urldoi <- paste0("https://doi.org/", doi)


bibentry(bibtype="Manual",
         title = titl,
         author = c(person(given="Marie", family="Chion"), person(given="Christine", family="Carapito"), person(given="Frederic", family="Bertrand")),
	 publisher = "manual",
         year         = year,
         note         = vers,
         url          = "",
         doi = doi,
         textVersion = 
         paste("M. Chion, Ch. Carapito and F. Bertrand (",year ,"). ", 
               titl, ", ", vers, ". doi:", doi, ".", sep=""
               )
)

bibentry(bibtype = "Article",
         title = "Accounting for multiple imputation-induced variability for
differential analysis in mass spectrometry-based label-free
quantitative proteomics",
         author = c(person(given="Marie", family="Chion"), person(given="Christine", family="Carapito"), person(given="Frederic", family="Bertrand")),
         year = 2021,
journal="arxiv:2108.07086",
         url          = "https://arxiv.org/abs/2108.07086",
         textVersion =
         paste0("M. Chion, Ch. Carapito and F. Bertrand (2021). Accounting for multiple imputation-induced variability for
differential analysis in mass spectrometry-based label-free
quantitative proteomics. arxiv:2108.07086. https://arxiv.org/abs/2108.07086"))
