| Algorithm 1 (A finite mixture and latent Dirichlet model for metagenomics). |
|
Require the hyperparameter
, the total number of reads
, the species set
, the read-composition distributions
Ensure the read dataset R sample the species mixture parameters for a metagenome repeat 1. sample species 2. sample read until the total number of metagenomic reads is reached return the read dataset |