The RecPD package was developed to calculate the recombination-adjusted phylogenetic diversity of a given feature (phenotype, variant, etc. in binary presence/absence format) found across a given species phylogenetic tree utilizing ancestral state reconstruction.
RecPD also provides functions for:
For a more detailed description of the RecPD methodology, and its advantage over using simple Prevalence to measure feature diversity in microbial population genetics studies, see Bundalovic-Torma C. & Guttman D. PLoS CompBiol. (2022).
You can install the development version of RecPD from GitHub
# install.packages("devtools")
devtools::install_github("cedatorma/recpd")
See the ./vignettes directory for a tutorial providing a general overview of RecPD and the various functionalities offered in the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.