citHeader("To cite package 'AFLPsim' in publications use:")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)
citEntry(entry = "Manual",
      title = "AFLPsim: Hybrid simulation and genome scan for dominant markers",
       author = personList(as.person("Francisco  Balao"),
                               as.person("Juan Luis García-Castaño")),
       year = year,
       note = vers,
       url = "https://github.com/fbalao/AFLPsim",
       key = "AFLPsim-package",
       textVersion =
         paste0("Francisco Balao & Juan Luis García-Castaño(",
               year,
               "). AFLPsim: Hybrid simulation and genome scan for dominant markers.",
               vers, ".", sep="")
      )
