# FuncDiv

`FuncDiv` is an R package for computing contributional diversity of joint taxa-function data.

It is described in this paper:
[Gavin M. Douglas, Sunu Kim, Morgan G. I. Langille, B. Jesse Shapiro. 2023. Efficient computation of contributional diversity metrics from microbiome data with FuncDiv. Bioinformatics 39 (1): btac809. DOI: 10.1093/bioinformatics/btac809](https://doi.org/10.1093/bioinformatics/btac809)

All feedback is appreciated! Please [open an issue](https://github.com/gavinmdouglas/FuncDiv/issues) on this repository if you would like to ask a question or make a comment.

Please see our [wiki site](https://github.com/gavinmdouglas/FuncDiv/wiki) for the documentation.


_Licensing note_: This repository contains modified code (specifically in `R/beta_workflow.R` and `src/rbiom_par_unifrac.cpp`) from version 1.0.3 of the `rbiom` R package ([link to original source code](https://CRAN.R-project.org/package=rbiom)). The original code and _FuncDiv_ are distributed under [GNU Affero General Public Licenses](https://www.gnu.org/licenses/agpl-3.0.en.html).

