But, I’m getting the following error: state_column must contain at least two unique values. Values in Time: [ 12.]. I should mention that I have only two timepoints: baseline and 12 months. I’m assuming that it’s necessary to have at least 3 timepoints (baseline, time 1 and time 2) in order to complete this command. Is this correct?
In case there are only two timepoints, the only options to track changes over time in microbiome composition would be qiime longitudinal pairwise-distances and qiime longitudinal pairwise-differences. Am I right?
first-distances is really only going to make sense if you have > 2 states. It will work with 2 states, and the results can still be used, e.g., to plot how much a sample changed between state 1 and state 0. But it will not be useful for linear-mixed-effects.
Correct — those methods actually effectively calculate the first differences/distances between two fixed states but then provide some statistical testing and plotting. Those will be much more useful for your purposes.
Looks like you opened up a separate question about first-distances (thanks for using separate topics!) — let's move the conversation will move to this topic:
I’d like to ask if there is any way I can use the first-distances.qza and first-distances-baseline-0.qza files. I’m asking because I was able to get these files using my data, but I don’t know what else I can do to analyze them, as I only have two timepoints.