Skip to main content
. 2018 Jun 20;9(6):313. doi: 10.3390/genes9060313
Algorithm 1 (A finite mixture and latent Dirichlet model for metagenomics).
Require the hyperparameter α , the total number of reads N , the species set G , the read-composition distributions Φ
Ensure
the read dataset R
sample the species mixture parameters θDir(α) for a metagenome
repeat
1. sample species giMult(θ)
2. sample read rkMult(φgi)
until the total number of metagenomic reads N is reached
return the read dataset {r1,r2,,rN}R