-
- /*
- * FIXME: 2.10.1 PCA treats gap as [22] or 'X', but Tree
- * calculation treats as [23]; which is correct?
- */
- /*
- * hack to convert unassigned / unknown (including gap)
- * to index of unknown (X for amino acids, N for nucleotide)
- * TODO: statically assign gap characters to this index?
- */
-// if (type == 0)
-// {
-// if (a == ResidueProperties.maxProteinIndex)
-// {
-// a = ResidueProperties.aaIndex['X'];
-// }
-// if (b == ResidueProperties.maxProteinIndex)
-// {
-// b = ResidueProperties.aaIndex['X'];
-// }
-// }
-// if (type != 0)
-// {
-// if (a == ResidueProperties.maxNucleotideIndex)
-// {
-// a = ResidueProperties.nucleotideIndex['N'];
-// }
-// if (b == ResidueProperties.maxNucleotideIndex)
-// {
-// b = ResidueProperties.nucleotideIndex['N'];
-// }
-// }
- pog = matrix[a][b];