/wildlifedetectR

🐘🐅🦏 R package for running key wildlife forensic and population genetic analyses

Primary LanguageROtherNOASSERTION

wildlifedetectR

wildlifedetectR provides a collection of functions for running typical wildlife forensic tests. This package is in development.

  • Test code:
    # install.packages("devtools")
    # building vignettes might take some time. Set build_vignettes = FALSE for a quick download.
    
    devtools::install_github("elhumble/wildlifedetectR", build_vignettes = TRUE)
    
    # Individualisation tutorial
    
    library(wildlifedetectR)
    ?individualisation
    
    data(BadgerRefPop)
    data(BadgerTrace)
    individualisation(db = BadgerRefPop,
                      unknown = BadgerTrace,
                      Th = 0.1,
                      allele_freq = T,
                      known_alleles = T)

Authors

E Humble & K Ewart