Description
Nematode Community Analysis.
Description
Provides a built-in Nemaplex database for nematodes, which can be used to search for various nematodes. Also supports various nematode community and functional analyses such as nematode diversity, maturity index, metabolic footprint, and functional guild. The methods are based on <https://shiny.wur.nl/ninja/>, Bongers, T. (1990) <doi:10.1007/BF00324627>, Ferris, H. (2010) <doi:10.1016/j.ejsobi.2010.01.003>, Wan, B. et al. (2022) <doi:10.1016/j.soilbio.2022.108695>, and Van Den Hoogen, J. et al. (2019) <doi:10.1038/s41586-019-1418-6>.
README.md
easynem
This R package has a built-in Nemaplex database for nematodes, which can be used to search for various nematodes. At the same time, this R package supports various nematode communities and functional analyses such as nematode diversity, maturity index, metabolic footprint, and functional guild.
Installation
You can install the development version of easynem from GitHub with:
# install.packages("devtools")
devtools::install_github("whkygl/easynem")
Example
This is a basic example which shows you how to solve a common problem:
library(easynem)
## basic example code
Calculation of metabolic footprint of nematode communities:
nem <- read_nem2(tab = nemtab, tax = nemtax, meta = nemmeta)
nem_plot <- nem |>
calc_nemindex() |>
calc_mf(Treatments) |>
nem_plot(kei = 30, ksi = 20)
nem_plot
Calculation of energy structure of nematode communities:
nem_plot <- nem |>
calc_nemindex() |>
calc_ef(Treatments) |>
nem_plot()
nem_plot