We are facing some problems when dealing with the calculation of TDR (taxon detection rate) and TAR (taxon accuracy rate) definitions:
I am posting here the definitions taken from Bokulich et al., 2018:
TAR = TP/(TP + FP) or the fraction of observed taxa that were expected at level L.
TDR = TP/(TP + FN) or the fraction of expected taxa that are observed at level L.
For our experimental conditions we calculated these parameters both manually and using QIIME2. The problem we found is that we obtained the same but oposite results with the 2 strategies:
Nº of detected species: 77
Nº of expected species: 20
Data reported by QIIME2 with the same experiment:
Just the opposite!
Just now we cannot find where the problem is. Could you please give us some input? Are we applying the defitions in a correct way.
Thanks in advance!