Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Rmomal/EMtree

Repository files navigation

EMtree

R build status Codecov test coverage DOI

EMtree infers direct species association networks, implementing the procedure described in Momal et al.. This package uses averages over spanning trees within an Expectation-Maximization algorithm to infer conditional dependence networks, and involves plotting functionalities (using ggraph and tydigraph).

By default, it uses the Poisson log-Normal Model (PLNmodels) to accommodate abundance data. However, EMtree is an inference method which only requires an estimate of a Gaussian covariance matrix, and can be used with any model which either use Gaussian latent variables, Gaussian copulas, or Gaussian data transformations.

Installation

EMtree requires R>3.5.

CRAN dependencies

required_CRAN <- c("Matrix", "parallel", "mvtnorm", "vegan",
 "ggplot2", "magrittr", "dplyr", "tibble",
 "PLNmodels","ggraph", "tidygraph","huge")
not_installed_CRAN <- setdiff(required_CRAN, rownames(installed.packages()))
if (length(not_installed_CRAN) > 0) install.packages(not_installed_CRAN)

Installation of EMtree

You can install the development version of EMtree:

devtools::install_github("Rmomal/EMtree")

Reference

Please cite our work using the following reference:

  • Momal, R., Robin, S., & Ambroise, C. (2020). Tree‐based inference of species interaction networks from abundance data. Methods in Ecology and Evolution, 11(5), 621-632.

Packages

No packages published

Contributors 4

Languages

AltStyle によって変換されたページ (->オリジナル) /