alignmentMatrix.Rdaligned topics across chains
alignmentMatrix( theta, ps, K, iterUse = 1000, chain = 4, SampleID_name = "SampleID" )
| theta | array. three dimensional array (iterations * samples * topic). |
|---|---|
| ps | phyloseq object. |
| K | integer. number of topics. |
| iterUse | integer. number of iterations used in each chain after subtracting warm-up samples. |
| chain | integer. number of chains used in MCMC. |
| SampleID_name | character. variable name that contains sample IDs. |
matrix. A matrix of topic assignment for each chain.