This package provide a novel mixture of logistic-normal multinomial models for clustering microbiome data, or other compositional data. Parameter estimation are accomplished using variational Gaussian approximation to lift the computational overhead.
Methodology detail used in this package is from the manuscript in Fang and Subedi (2020). Datasets discussed in the simulation study of the manuscript is available in the data folder. Kxny.RData stores a collection of 100 replicated datasets of x-dimentional data with y observations.
Update to improve computation performance - Updated the following functions: + elbo_fun - matrix-wise computation replaced loop + LNM.clust - enabled parallelization
The preferred way to install this package is through using devtools::install_github()
:
If you haven't installed the package devtools, please do the following first:
install.packages("devtools")
library("devtools")
devtools::install_github("yuanfang90/LNMVGA", upgrade_dependencies = FALSE)
library(LNMVGA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.