- Methodology article
- Open Access
The performance of the Congruence Among Distance Matrices (CADM) test in phylogenetic analysis
BMC Evolutionary Biology volume 11, Article number: 64 (2011)
CADM is a statistical test used to estimate the level of Congruence Among Distance Matrices. It has been shown in previous studies to have a correct rate of type I error and good power when applied to dissimilarity matrices and to ultrametric distance matrices. Contrary to most other tests of incongruence used in phylogenetic analysis, the null hypothesis of the CADM test assumes complete incongruence of the phylogenetic trees instead of congruence. In this study, we performed computer simulations to assess the type I error rate and power of the test. It was applied to additive distance matrices representing phylogenies and to genetic distance matrices obtained from nucleotide sequences of different lengths that were simulated on randomly generated trees of varying sizes, and under different evolutionary conditions.
Our results showed that the test has an accurate type I error rate and good power. As expected, power increased with the number of objects (i.e., taxa), the number of partially or completely congruent matrices and the level of congruence among distance matrices.
Based on our results, we suggest that CADM is an excellent candidate to test for congruence and, when present, to estimate its level in phylogenomic studies where numerous genes are analysed simultaneously.
In phylogenetic studies, data matrices are assembled and analysed to infer evolutionary relationships among species or higher taxa. Depending on the study, character-state data or distance matrices may be used, and several different types of data may be available to estimate the phylogeny of a particular group . An increasing number of phylogenomic studies are published for data sets including more than 100 genes [2–10]. Whereas character-state data (e.g., nucleotide sequences) are commonly used for parsimony, maximum likelihood or Bayesian analyses, distance methods can be selected as an alternative option to decrease computing time when analysing large data sets, or else, can be used in comparative studies where the primary data are not available.
Different approaches have been proposed to analyse the growing amount of information that may originate from different sources. The total evidence approach , also called character congruence approach [sensu ] or combined analysis [sensu ], combines different data sets in a single supermatrix [14–17]. The taxonomic congruence approach [sensu ], or consensus approach , analyses each matrix separately, and combines the resulting trees a posteriori using a consensus [18–22] or a supertree method [23–26]. The pros and cons of these competing approaches have been debated at length in the literature [7, 17, 21, 22, 27–32]. An intermediate approach, referred to as the conditional data combination, consists in testing a priori the level of congruence of different data sets. Only the data sets that are considered statistically congruent, i.e. in phylogenetic agreement, are combined in a supermatrix. The remaining incongruent data sets are analysed separately [13, 19, 33–35].
The approach used often depends on the level of congruence or incongruence in the data. In phylogenetic analysis, "incongruence" can be defined as differences in phylogenetic trees. It is observed when different partitions, or data sets, sampled on the same taxa suggest different evolutionary histories . However, incongruence may also arise when the data violate the assumptions of the phylogenetic method. Incongruence among data sets is fairly common and can be present at varying degrees . Hence, statistical tests have been designed to detect the presence of incongruence and its magnitude . In general, such incongruence tests are used to determine if the topological differences observed could have simply arose by chance . The null hypothesis of most of these tests (H0) is congruence, i.e., topologically identical trees, where any topological difference is the result of stochastic variation in the data sets [see ,  for reviews]. The most commonly used test of this type is the Incongruence Length Difference test [ILD: ]. However, numerous problems are known to be associated to it. For example, type I error rates were shown to be well above the nominal significance level when data sets (with great differences in substitution rates among sites) were compared [40, 41]. Therefore, nominal significance levels of 0.01 or 0.001 have been suggested as more appropriate . Also, power was low when short nucleotide sequences simulated on different tree structures were compared .
Numerous factors have been described to explain differences in phylogenetic trees obtained from the analysis of data sets containing the same species. A wide range of evolutionary processes may cause nucleotides at different sites to evolve differently, for examples due to their codon positions or to different functional constraints [42–44]. Also, various parts of the genome may have experienced different phylogenetic histories (e.g., mitochondrial vs. nuclear genes) and trees inferred from different data types (e.g., morphological or molecular data) may support different phylogenies . Other evolutionary processes can explain incongruence between data sets: horizontal transfer, duplications, insertions or losses, incomplete lineage sorting, mobile elements, recombination, hybridization and introgression [see ,  for an exhaustive list]. Furthermore, the use of an inappropriate method to analyse a given data set may lead to a spurious phylogeny, that can be erroneously incongruent to some extent with another phylogeny that has been correctly estimated [22, 33, 40]. Thus, given two data sets, one of which has parameters prone to long-branch attraction [46, 47], the choice of an inconsistent phylogenetic method to analyse both data sets may produce different trees. Incongruence due to systematic errors can be addressed by changing the evolutionary model or the phylogenetic method so that it conforms better to the data. However, incongruence resulting from genealogical discordance processes must be detected and handled in some appropriate ways, e.g., by using phylogenetic network inference methods [see  for a review]. Thus, three main causes can be invoked to explain incongruence: 1) different phylogenetic trees may be inferred due to random sampling errors, 2) different trees may be produced due to the presence of systematic errors, leading to erroneous phylogenetic inference, or 3) real differences may exist between phylogenetic trees due to contrasting evolutionary histories .
Alternatively, the term "congruence" is often used to describe data sets, characters or trees that correspond to identical (or compatible) relationships among taxa . However, many authors use a definition of congruence that is looser than the previously described identical topology and that incorporate varying degrees of topological similarities. For example, taxonomic congruence, as defined by , is the degree to which different classifications of the same taxa support the same groupings. Since the pioneer study of , different measures and indices have been proposed to quantify the level of congruence [see review by ]. Conditional data combination often relies on such indices to determine the degree of congruence and on statistical tests in order to determine whether or not the data sets should be combined [13, 18, 33].
As described above, the term "congruence" and "incongruence" can have a more or less strict meaning with regards to the level of similarity. The definitions used in this paper are in concordance with the test of congruence among distance matrices (CADM). CADM was introduced by  and is applicable to two or more matrices. The null hypothesis of the test (H0) is the complete incongruence of all trees (two or more), which corresponds to phylogenies with different topologies and/or very different branch lengths. Hence, the method can also account for branch lengths [as in ]. For two matrices (or two trees), the alternative hypothesis (H1) is that the inferred trees are partially or completely congruent. When more than two matrices (or trees) are tested, H1 postulates that at least two trees in the group are partially or completely congruent. It is then possible to test for specific pairs. In this paper, incongruence refers to phylogenetic trees with different topologies, which suggests completely distinct evolutionary histories. At the opposite, congruence refers to two or more identical trees with an underlying identical evolutionary history (i.e., complete congruence or topological identity) or to two or more phylogenetic trees with a partial degree of similarity in their evolutionary relationships (i.e., partial congruence). The level of congruence can be measured by the test statistic, which ranges from 0 to 1.
More specifically, given two or more data sets (e.g., different genes) studied on the same species, a concordance statistic [Kendall's W statistic: , ] is calculated among the distance matrices corresponding to the gene sequences or to the trees and tested against a distribution of permuted values to estimate the probability that the data correspond to the null hypothesis. CADM is an extension of the Mantel test of matrix correspondence, which can be used to test the null hypothesis of complete incongruence of the distance matrices (corresponding to all data sets or trees under study). As a complement to the p-value, the W statistic provides an estimate of the degree of congruence of two or more matrices on a scale between 0 (no congruence) and 1 (complete congruence). Note that when trees have identical topologies but different branch lengths, a statistical conclusion of partial congruence or even incongruence may be reached, depending on the level of differences among the distance matrices that cause differences in relative distance rankings. The test allows users to detect these two cases; thus, both topological and phylogenetic congruence can be tested with CADM (see the Methods section).
A posteriori tests can be used to identify which data sets are congruent and to estimate their level of congruence. When the level of congruence among all distance matrices is low, researchers can decide to analyse the matrices separately or in subgroups. However, rejection of independence of the gene trees does not imply that inference of a tree from the combined data set is appropriate. In the case of partial congruence, phylogenetic network methods [48, 54], instead of traditional tree reconstruction methods, can be more appropriate to combine congruent data sets into a single analysis. Indeed, in these cases, evolutionary relationships may be better depicted as reticulated relationships. Additional tests or studies can also be performed to determine the causes underlying partial congruence [e.g., ]. Thus, with its null hypothesis (H0) of complete incongruence of all trees, CADM differs from most other available phylogenetic tests of congruence/incongruence, which assume a common evolutionary history (H0: congruence) and test the alternative hypothesis of different histories among the data sets (H1: incongruence).
Previously published simulations have shown that the global and a posteriori CADM tests have a correct type I error rate and good power when applied to dissimilarity matrices computed from independently-generated raw data . Identical results were obtained in simulations involving ultrametric distance matrices . CADM has also been successfully used to detect congruence among phylogenetic trees obtained from different gene sequences . In this paper, we expand on previous CADM simulations to assess the performance of the test when it is applied to phylogenetic trees. Specifically, the type I error rate and power of the global and a posteriori CADM tests were assessed using distance matrices obtained from nucleotide sequences simulated on additive trees under various phylogenetic conditions.
Type I error rate
Type I error rate was evaluated by calculating the proportion of replicated simulations that rejected the null hypothesis when H0 was true by construct. To construct data sets under a true H0 of complete incongruence among matrices, IM were compared using CADM. Table 1 presents type I error rates of the global CADM test, at a nominal significance level of 0.05, obtained for different numbers of IM (2, 3, 4, 5 and 10); n (10, 25, 50 and 100); and L (1000, 5000, 10 000 and 20 000 bp). In all cases, the 95% CI of the rejection rates included the nominal 0.05 alpha level, suggesting an adequate type I error rate when CADM is applied to compare distance matrices in a phylogenetic context. Type I error rates were also investigated for a posteriori CADM test, where matrices included in a set under comparisons are permuted one at a time. As for the global test, in all cases and for each matrix, the 95% CI included the nominal 0.05 alpha level, suggesting an adequate type I error rate (results not shown).
Power: Different levels of congruence among matrices
The estimated power is the proportion of replicates for which the null hypothesis is rejected when H0 is false by construct. For 1000 replicates, a power of 1.0 (i.e., rejection rates of 1.0) indicates that all replicates rejected the false null hypothesis, and thus power is maximal. Figure 1 shows power curves obtained when different numbers of taxa were permuted to construct congruent matrices (CM = 3, M = 5), L = 10 000 bp and n = 10 and 50 taxa. When the proportion of permuted taxa is equal to 0, the distance matrices were obtained from nucleotide sequences simulated on identical trees (CMI). When the proportion of permuted taxa is greater than 0, the distance matrices were obtained from nucleotide sequences simulated on partly similar trees (CMP), and thus, it corresponds to different levels of partial congruence (depending on the number of permuted taxa). Power decreased with a decrease in the level of congruence among the three matrices (i.e., with an increase in the number of taxa permuted). A power close to 1.0 was observed when identical trees were used (CMI), regardless of matrix sizes (n). Reduced power (i.e., less than 0.5) was observed for matrices with 25% or more permuted taxa, when n = 10 taxa; whereas it was observed for matrices with 50% or more permuted taxa, when n = 50 taxa.
In a posteriori CADM tests, the rejection rate of each individual matrix was similar to the power level obtained in the global test. Figure 2 presents the rejection rates obtained for each matrix tested individually for M = 5 (same matrices as those used for simulations presented in Figure 1). The three partly similar matrices (CMP) were obtained from nucleotide sequences simulated under identical evolutionary conditions. In situations where not all matrices are congruent in a replicate, incongruent matrices are expected to fail to reject the null hypothesis of incongruence (i.e., the rejection rate corresponding to type I error), whereas partially congruent matrices should reject H0 (i.e., the rejection rate corresponding to power). This is exemplified in Figure 2, where partially congruent matrices (matrices 1, 2 and 3) present rejection rates above 0.05, thus above the significance level alpha that was used for each test. Rejection rates for incongruent matrices 4 and 5 were near 0.05, for both n = 10 and 50 taxa. The power curves in Figure 2 are nearly identical to those in Figure 1 for data sets of the same size n, when partially congruent matrices were tested (matrices 1, 2 and 3). Tables 2 and 3 present rejection rates for M = 5, and that included a varying number of CM. In Table 2, CM correspond to distance matrices obtained from nucleotide sequences simulated on identical trees (CMI), whereas in Table 3, CM correspond to distance matrices obtained from nucleotide sequences simulated on partly similar trees with 40% of permuted taxa (CMP). For both tables, power increased with (1) an increase in the number of objects (n); (2) an increase in the number of congruent matrices (CM); and (3) an increase in sequence lengths (L). However, power increased much more rapidly in Table 2, which corresponds to a situation of complete congruence, with maximum power obtained when three or more CM were included in a replicate, regardless of matrix sizes (n). In Table 3, which corresponds to a situation of partial congruence, maximum power was observed only for four matrices or more, included in a set of M = 5, and with larger matrices (n = 100 taxa).
Power: Effect of different evolutionary parameters
Power was also calculated for distance matrices obtained from nucleotide sequences simulated on identical trees under a GTR model, with identical or different evolutionary parameters. In Table 4, distance matrices obtained from nucleotide sequences simulated with identical evolutionary parameters were compared, for CMI = 2. Rejection rates of pairwise comparisons tested for different values of mutation rates (s) and heterogeneity of substitution rates among sites (α) are presented. In Table 5, distance matrices obtained from nucleotide sequences simulated with contrasting evolutionary parameters were compared. In both cases, and for every condition tested, rejection rates were high, with at least 79% of the replicates rejecting H0. The lowest rejection rate was observed when matrices obtained from nucleotide sequences simulated under more extreme parameters of evolution (i.e., s = 0.02; α = 0.06) were tested. But in general, most cases rejected the null hypothesis of complete incongruence (i.e., power of 1.0). Identical simulations were also performed for CMI = 5, M = 5; and rejection rates were of 1.0 in every case (results not shown).
Incongruence among data sets is widespread in phylogenetic analyses . Our simulations clearly demonstrate the validity of CADM to estimate the level of congruence (or to detect incongruence) among different data sets or partitions and to test its statistical significance. However, in comparison to other tests used in phylogenetic analysis, the null and alternative hypotheses are reversed. Most phylogenetic incongruence tests assume that the data sets share an identical evolutionary history and the null hypothesis is congruence (i.e., topological identity) among trees . On the contrary, the null hypothesis of CADM is complete incongruence. Kendall's coefficient of concordance W is widely used in other fields, especially psychology, where it is used to assess the degree of correspondence or strength of association among different estimators [53, 59]. In a phylogenetic context, CADM evaluates the level of congruence, i.e., the degree of agreement among different estimators (data partitions or genes) of phylogenies, represented by their evolutionary distances, and can be used to test for congruence among matrices or trees.
In order to investigate type I error rates, which is the proportion of replicates that rejected H0 when it was true by construct, incongruent distance matrices were compared. In every case, the 95% CI of the rejection rate included the nominal significance level of 0.05 used for the test (Table 1). Hence, CADM accurately detects completely incongruent matrices even when multiple data partitions are tested simultaneously. In comparison, the incongruence length difference test [ILD, ] produces inflated type I error rates under particular conditions. Computer simulations were designed in  to assess the performance of ILD under different conditions of rejection of the null hypothesis (i.e., congruence between data sets). In that paper, observed rejection rates were well above the alpha level when sequences were simulated on identical trees, but with important differences in the substitution rates among sites. Furthermore, the rejection rates increased for longer sequences and for asymmetrical trees. Similarly, ILD was shown to be strongly biased in detecting topological congruence , and to be negatively influenced by the presence of a substantial number of noisy characters . Different methods have been proposed to alleviate this problem, such as using an alternative null model  or an arcsine transformation of the standardized length of the trees in order to linearism the relationship between noise and tree length .
Numerous congruence tests have also been designed recently such as principal component analysis on log-likelihood ratios or p-values , or heat maps to identify groups of congruent markers [63, 64]. Bayesian approaches have also been suggested [65, 66]. Caveats associated to each method are discussed in , where a hierarchical clustering method based on log-likelihood ratios  is introduced to test congruence. However, these tests are dependent upon tree inference , and thus could produce spurious results if inadequate models of evolution are used [68, 69]. When using the CADM procedure, it is possible to compare the results obtained by computing a distance matrix on the nucleotide sequences using different distances or different substitution models to investigate possible bias. Alternatively, CADM can also be applied to the path-length distance matrices obtained from phylogenetic trees . These different possibilities were all tested in preliminary simulations (not reported here), and no effect on the outcome of the test was observed.
As observed in previous simulation studies [50, 56], the power of CADM increased with the number of taxa, with the level of congruence and with the number of congruent matrices within a set of distance matrices (Figures 1 and 2, Tables 2 and 3). Thus, the test performs according to expectations. Indeed, the power of a test should increase with the number of objects and with effect size, that is, the degree to which congruence is present . Interestingly, power also tends to increase with longer nucleotide sequences from which distance matrices are calculated. This novel observation is opposed to the prediction in , where it is showed that power is not affected by the number of variables in the raw data. These authors argue that the number of variables should not affect the outcome of the test since data partitions are converted into distance matrices prior to computing the test. However, a weighted version of CADM, which can be used to assign weights to each matrix in the global analysis, is presented in . Comparison of distance matrices obtained from nucleotide sequences is a particular application of the CADM test. We believe that the higher power observed for longer sequences can be explained by the number of informative sites. However, it appears that power increases more rapidly with the number of taxa than with the number of characters, and even more rapidly with the number of congruent matrices under comparison.
When the overall level of congruence decreases among congruent matrices, so does power (Figure 1). For nucleotide sequence matrices simulated on phylogenetic trees with 40% permuted taxa (partial congruence), a drastic decrease in power was observed when compared to nucleotide sequence matrices simulated on identical phylogenetic trees (complete congruence, Table 2 vs. Table 3). The greater the effect size, the greater the power of the test will be . Tables 4 and 5 present the rejection rates for two matrices that have been simulated on identical trees (i.e., complete congruence), and nearly all cases tested rejected the null hypothesis of complete incongruence, regardless of the evolutionary parameters used. In this study, topological differences are reflected by a decrease in congruence among the sequence matrices, and this can be interpreted as noise in the data or to real incongruence. Indeed, power decreases quite abruptly with an increase in topological differences (Figure 1). The level of congruence among distance matrices is indicated by the statistic value in a posteriori tests.
One of the main advantages of CADM lies in its ability to test several matrices in a single analysis, and identify partially or completely congruent and incongruent members of a set of matrices. This is achieved through a posteriori testing, which compares each matrix to all other matrices by permuting a single matrix at a time. Our results show that power of a posteriori CADM tests is equivalent to the power observed for the global test (Figures 1 and 2). When the null hypothesis of incongruence is rejected, a posteriori tests should be used to identify the matrices that can be combined in a supermatrix, and those that should be analysed separately, or combined in a supernetwork approach [48, 54]. Other tests, such as ILD, can be modified to test for incongruence among multiple matrices. Different approaches have been proposed to identify incongruent matrices within a set of multiple matrices; the methods and problems associated are discussed in [38, 71]. The CONCATERPILLAR program also allows testing for incongruence among multiple matrices through pairwise comparisons . However, the number of tests increases exponentially with the number of data sets, and it becomes excessively computationally demanding when numerous data sets have to be compared.
In the light of our results, CADM has proven to be statistically valid to detect partial or complete congruence among distance matrices and estimate its level in a phylogenetic context. One important advantage of this permutation method is its computational efficiency in significance testing. CADM offers several other advantages with respect to previously described incongruence tests: (1) The statistic is calculated directly from the distance matrices, thus different types of data can be compared after convertion to distance matrices using an appropriate function. (2) Data that readily come in the form of distance matrices do not have to be further transformed into character-state data matrices. (3) Given that distances can be calculated directly from the raw data without inferring a phylogenetic tree, possible biases introduced by the use of an inappropriate phylogenetic method can be reduced. (4) Also, appropriate distances can be chosen for each individual data set to accurately model its evolutionary parameters. (5) If needed, path-length distances calculated on phylogenetic trees can also be used, which provide an interesting method to test for congruence among different trees in a supertree approach. (6) Distance matrices can be weighted differentially to account for different numbers of characters. (7) A posteriori tests can be performed to identify which particular matrices are congruent among all data sets tested. (8) An estimate of the level of congruence can be obtained by the statistic value of a posteriori test. With the growing amount of taxa and sequences that are used in phylogenomics, CADM offers a simple alternative to compare multiple matrices and identify congruent data partitions. CADM could also be used in cophylogeny studies, where congruence between species phylogenies is assessed to determine the level of host specificity [e.g., [72–74]]. Further simulations designed specifically in a coevolution, cospeciation or cophylogeny context could be performed to validate the use of CADM in these particular settings.
The null hypothesis (H0) of the global CADM test is the complete incongruence of the matrices under study, whether these matrices contain pairwise genetic distances, pairwise path-length distances, or pairwise topological distances. Rejecting H0 indicates that at least two matrices contain a certain amount of congruent information. The global statistic value measures the level of congruence for partially congruent matrices, with a maximum value of 1 indicating complete congruence among the matrices (i.e., identical rankings of distance matrices). One advantage of the test is that congruence can easily be detected and measured at different steps of the analysis, since CADM can be applied to any type of distance matrices (Figure 3). Thus, it is possible to distinguish between different types of congruence: (1) genetic congruence, (2) phylogenetic congruence, and (3) topological congruence. Genetic congruence can be tested through comparisons of distance matrices calculated on the sequence data (with an uncorrected measure, or one corrected with an evolutionary model, see Test 1: Figure 3). Alternatively, the test can be applied to the path-length distance matrices corresponding to the inferred trees in order to determine the overall phylogenetic congruence (see Test 2: Figure 3). Topologically congruent trees with branch lengths that differ enough to change the ranking of the values may be considered incongruent (see the example given in Figure 4). To detect such cases, an additional test can be performed by setting all branch lengths to 1, so that only topologies are represented by the distance matrices (see Test 3: Figure 3). Preliminary simulations showed that the CADM test had an adequate type I error rate and good power, whether it is applied to genetic or phylogenetic distance matrices. Thus, most of the simulations were performed on genetic distance matrices because this approach allows users to determine, before phylogenetic inference, if the data matrices must be treated in a separate or combined analysis.
A posteriori tests can be used to identify incongruent and congruent matrices in a set. To determine the groups of potentially congruent matrices that could be tested, matrix correlations (also called Mantel statistics) based on ranks can be used. The test statistic W gives an estimate of the level of congruence, which ranges from 0 (complete incongruence) to 1 (complete congruence). After CADM tests, the completely congruent matrices can be combined in a supermatrix analysis, or analysed together using a supernetwork approach in the case of partially congruent matrices [e.g., , ]. A summary of the computations to perform the CADM test follows:
♦ The upper off-diagonal section of each distance matrix is unfolded and written into a vector corresponding to row i in a worktable.
♦ The entries of each row are transformed into ranks according to their values.
♦ The sum of ranks (R j ) is calculated for each column j of the table.
♦ The mean () of all R j values is calculated.
♦ The Kendall coefficient of concordance (W) is computed using the following formula:
where p is the number of matrices, n is the number of distances in each matrix, S is obtained using:
and T is a correction factor for tied ranks:
in which t k is the number of tied ranks for each k of m groups of ties. Kendall's W statistic is simply the variance of the row sums of ranks R j divided by the maximum possible value that this variance can take, which occurs when all data matrices are in total agreement. Thus, W ranges from 0 to 1, where 0 represents a complete disagreement in the rankings of the distances among the different matrices, and a value of 1 is observed when the distance matrices are in complete agreement.
♦ W is transformed into a Friedman's χ2, which is a pivotal statistic appropriate for testing, using the following formula:
♦ The observed Friedman's χ2 () is tested against a distribution of the statistic obtained under permutation (χ2*); the true value, , is included in the distribution of the permuted values, χ2*. For the global CADM test, all matrices are permuted at random, whereas for a posteriori tests, each matrix is permuted alternatively. A matrix that is not congruent to any other will have a small impact on the statistic once permuted. After a number of permutations (p n ), the one-tailed probability of the data under H0 is computed as the number of χ2* values greater than or equal to divided by (p n -1). In a posteriori comparisons, the p-value should be adjusted to maintain an adequate experimentwise error rate using a method designed specifically to correct for multiple testing. More details about the CADM procedure can be found in  and . A version of CADM is available in R 2.9.0 [76, 77], within the Ape 2.3 package [78, 79].
For the simulations described below, one thousand replicates were simulated for each combination of parameters, unless stated otherwise. For each replicate, 999 random permutations were computed to estimate the reference distribution of the CADM statistic. We calculated the rate of rejection of H0 with its 95% confidence interval (CI), at a nominal significance level of 0.05, for cases where H0 was true (type I error rate) and for cases where H0 was false (power). All the analyses were performed on ten Power Mac G5, with PowerPC 970 MP processors (2 × 2.5 GHz).
Type I error rate
The type I error rate, which is the probability of rejecting H0 when the data conform to this hypothesis, was assessed for both the global and a posteriori CADM tests. A statistical test is valid if the rejection rate of H0 is smaller than or equal to the nominal significance level of the test . Given that H0 postulates complete incongruence resulting from independent phylogenetic processes, we considered H0 to be true by construct when distance matrices calculated on nucleotide sequences simulated on independently-generated phylogenetic trees were compared. To do so, random additive distance matrices were obtained using the method proposed by . Such distance matrices correspond to trees with random topologies, random permutations of the taxon labels, and branch lengths assigned at random from the distribution of actual branch lengths. Phylogenetic trees were computed from the distance matrices using a neighbor joining algorithm [NJ: ] in PAUP* 4.0 . Nucleotide sequences were simulated on the phylogenetic trees using Seq-Gen 1.3.2 . To reproduce the complexity of actual substitutions observed in real sequence data, we used a general time-reversible model [GTR: [84–86]] following a gamma distribution [Γ: ] with invariant sites (I). Parameters were identical to those used in . Accordingly, the equilibrium frequencies of nucleotides A, C, G, and T were: gA = 0.1776, gC = 0.3336, gG = 0.2595, gT = 0.2293, the relative substitution rates were: rAC = 3.297, rAG = 12.55, rAT = 1.167, rCG = 2.060, rCT = 13.01, rGT = 1.0, and parameters α and I were 0.8168 and 0.5447 respectively. Distance matrices were calculated from the nucleotide sequence matrices using a p distance , corrected with the same parameters as those used to simulate the sequences. Given that the sequences were simulated on randomly-generated phylogenetic trees, the distance matrices obtained are incongruent matrices (IM). In order to explore various situations that might be encountered in phylogenetic analysis, different conditions were tested: different number of independent distance matrices (IM = 2, 3, 4, 5 and 10), different number of taxa in each matrix (n = 10, 25, 50 and 100) and varying lengths of nucleotide sequences (L = 1000, 5000, 10 000 and 20 000 bp). The simulation protocol is illustrated in Figure 5.
Power, which is the rate of rejection of a false H0, was evaluated for different conditions of application of CADM. Rejection rates of H0 were calculated with sets of distance matrices that included varying numbers of congruent matrices (CM) with different levels of similarity and different evolutionary parameters. The number of matrices (M) varied in a set and included incongruent matrices (IM) in addition to CM, for cases where CM < M.
Power: Different levels of congruence among matrices
Nucleotide sequences were simulated under a GTR + Γ + I model on the NJ trees obtained from partly similar matrices (CMP) and from identical matrices (CMI). CMP were generated by random permutations of different numbers of taxa and branch lengths from a random additive distance matrix. As the number of permuted taxa increases, so does the distortion of the original matrix, whereas the level of congruence among matrices decreases. The number of taxa permuted varied according to the total number of taxa (n) included in each matrix, in order to maintain the same proportion of the taxa permuted regardless of the matrix size. The effect of the level of congruence on power was tested for CMP = 3, out of a total of five matrices (M = 5), with n = 10 or 50, and L = 10 000 bp. The power of a posteriori tests was also investigated with the same sets of CMP. The number of taxa permuted varied from 0 to 60% of the total number of taxa. Additional simulations were performed to compare the particular case of 0% permuted taxa, which correspond to CMI (i.e., near 100% congruence among matrices) to CMP with 40% permuted taxa. For these analyses, a total of five distance matrices were compared (M = 5) but with varying number of CMI or CMP (i.e., 0, 2, 3, 4 or 5); n = 10, 25, 50 or 100; and L = 1000, 5000, 10 000 or 20 000 bp. When CMI or CMP = 0, only incongruent matrices (IM) were included in the set of five matrices, which corresponds to a true H0. A false H0 was constructed when CMI or CMP ≥ 2, and all matrices were congruent when CMI or CMP = 5.
Power: Effect of different evolutionary parameters
Because genes controlled by different evolutionary processes can share an identical evolutionary history (i.e., branching pattern), we investigated the effect of different evolutionary parameters on the power of the CADM test. Following , nucleotide sequences were simulated under the GTR + Γ + I model described above but with different mutation rates (s = 0.02 and 0.4) and different heterogeneity levels of substitution rates among sites (α = 0.06 and 0.8168). Homogeneity of substitution rates among sites were simulated using α = 200. The same phylogenetic tree was used to simulate nucleotide sequence matrices representing different partitions within a replicate, but different tree topologies were used for each replicate. Nucleotide sequence matrices simulated with identical or different evolutionary parameters on an identical tree were compared for M = 2 or 5; s = 0.02 or 0.4; α = 0.06, 0.8168 or 200; CMI = 2 or 5; n = 10, 25, 50 or 100; and L = 1000, 5000, 10 000 or 20 000 bp. Nucleotide sequences were simulated under the same GTR parameters as above, except for s and α that varied. Thus, in addition to comparing data sets that evolved under identical conditions, we also compared data sets that were simulated with different s or α values. Thus, for s = 0.02 and 0.4, we compared data sets characterized by heterogeneity of substitution among sites vs. data sets with a homogeneous substitution rate (α = 0.06 vs. α = 200, and α = 0.8168 vs. α = 200); and for α = 0.06, 0.8168 and 200, we compared data sets with a low mutation rate vs. a high mutation rate (s = 0.02 vs. s = 0.4).
Swofford DL, Olsen GJ, Waddell PJ, Hillis DM: Phylogenetic inference. Molecular systematics. Edited by: Hillis DM, Moritz C, Mable BK. 1996, Sunderland, MA: Sinauer Associates, Inc, 407-514. Second
Lerat E, Daubin V, Moran NA: From gene trees to organismal phylogeny in prokaryotes: The case of the γ-proteobacteria. Plos Biol. 2003, 1 (1): 101-109. 10.1371/journal.pbio.0000019.
Rokas A, Williams BL, King N, Carroll SB: Genome-scale approaches to resolving incongruence in molecular phylogenies. Nature. 2003, 425 (6960): 798-804. 10.1038/nature02053.
Driskell AC, Ané C, Burleigh JG, McMahon MM, O'Meara BC, Sanderson MJ: Prospects for building the tree of life from large sequence databases. Science. 2004, 306 (5699): 1172-1174. 10.1126/science.1102036.
Philippe H, Lartillot N, Brinkmann H: Multigene analyses of bilaterian animals corroborate the monophyly of Ecdysozoa, Lophotrochozoa, and Protostomia. Mol Biol Evol. 2005, 22 (5): 1246-1253. 10.1093/molbev/msi111.
Fitzpatrick DA, Logue ME, Stajich JE, Butler G: A fungal phylogeny based on 42 complete genomes derived from supertree and combined gene analysis. BMC Evol Biol. 2006, 6: 1-15. 10.1186/1471-2148-6-1.
Nishihara H, Okada N, Hasegawa M: Rooting the eutherian tree: The power and pitfalls of phylogenomics. Genome Biol. 2007, 8 (9): R199-10.1186/gb-2007-8-9-r199.
Wildman DE, Uddin M, Opazo JC, Liu G, Lefort V, Guindon S, Gascuel O, Grossman LI, Romero R, Goodman M: Genomics, biogeography, and the diversification of placental mammals. Proc Natl Acad Sci USA. 2007, 104 (36): 14395-14400. 10.1073/pnas.0704342104.
Dunn CW, Hejnol A, Matus DQ, Pang K, Browne WE, Smith SA, Seaver E, Rouse GW, Obst M, Edgecombe GD Sørensen MV, Haddock SHD, Schmidt-Rhaesa A, Okusu A, Kristensen RM, Wheeler WC, Martindale MQ, Giribet G: Broad phylogenomic sampling improves resolution of the animal tree of life. Nature. 2008, 452 (7188): 745-749. 10.1038/nature06614.
Zou XH, Zhang FM, Zhang JG, Zang LL, Tang L, Wang J, Sang T, Ge S: Analysis of 142 genes resolves the rapid diversification of the rice genus. Genome Biol. 2008, 9 (3): R49-10.1186/gb-2008-9-3-r49.
Kluge AG: A concern for evidence and a phylogenetic hypothesis of relationships among Epicrates (Boidae, Serpentes). Syst Zool. 1989, 38 (1): 7-25. 10.2307/2992432.
Mickevich MF: Taxonomic congruence. Syst Zool. 1978, 27: 143-158. 10.2307/2412969.
de Queiroz A: For consensus (sometimes). Syst Biol. 1993, 42 (3): 368-372.
Gatesy J, Baker RH, Hayashi C: Inconsistencies in arguments for the supertree approach: Supermatrices versus supertrees of Crocodylia. Syst Biol. 2004, 53 (2): 342-355. 10.1080/10635150490423971.
Eernisse DJ, Kluge AG: Taxonomic congruence versus total evidence, and amniote phylogeny inferred from fossils, molecules, and morphology. Mol Biol Evol. 1993, 10 (6): 1170-1195.
Kluge AG, Wolf AJ: Cladistics: What's in a word?. Cladistics. 1993, 9 (2): 183-199. 10.1111/j.1096-0031.1993.tb00217.x.
de Queiroz A, Gatesy J: The supermatrix approach to systematics. Trends Ecol Evol. 2007, 22 (1): 34-41. 10.1016/j.tree.2006.10.002.
Swofford DL: When are phylogeny estimates from molecular and morphological data incongruent?. Phylogenetic analyses of DNA sequences. Edited by: Miyamoto MM, Cracraft J. 1991, Oxford: Oxford University Press, 295-333.
Farris JS, Källersjö M, Kluge AG, Bult C: Constructing a significance test for incongruence. Syst Biol. 1995, 44 (4): 570-572.
Miyamoto MM, Fitch WM: Testing species phylogenies and phylogenetic methods with congruence. Syst Biol. 1995, 44 (1): 64-76.
Huelsenbeck JP, Bull JJ, Cunningham CW: Combining data in phylogenetic analysis: Reply. Trends Ecol Evol. 1996, 11 (8): 335-335. 10.1016/S0169-5347(96)91643-2.
Huelsenbeck JP, Bull JJ, Cunningham CW: Combining data in phylogenetic analysis. Trends Ecol Evol. 1996, 11 (4): 152-158. 10.1016/0169-5347(96)10006-9.
Sanderson MJ, Purvis A, Henze C: Phylogenetic supertrees: Assembling the trees of life. Trends Ecol Evol. 1998, 13 (3): 105-109. 10.1016/S0169-5347(97)01242-1.
Bininda-Emonds ORP, Gittleman JL, Steel MA: The (Super)tree of life: Procedures, problems, and prospects. Annu Rev Ecol Syst. 2002, 33: 265-289. 10.1146/annurev.ecolsys.33.010802.150511.
Bininda-Emonds ORP: The evolution of supertrees. Trends Ecol Evol. 2004, 19 (6): 315-322. 10.1016/j.tree.2004.03.015.
Bininda-Emonds ORP: MRP supertree construction in the consensus setting. Bioconsensus. Edited by: Janowitz M, Lapointe F-J, McMorris FR, Mirkin B, Roberts FS. 2003, Providence: American Mathematical Society, 61: 231-242.
Crandall KA, Buhay JE: Genomic databases and the tree of life. Science. 2004, 306 (5699): 1144-1145. 10.1126/science.1106198.
de Queiroz A, Donoghue MJ, Kim J: Separate versus combined analysis of phylogenetic evidence. Annu Rev Ecol Syst. 1995, 26: 657-681. 10.1146/annurev.es.26.110195.003301.
Wiens JJ: Combining data sets with different phylogenetic histories. Syst Biol. 1998, 47 (4): 568-581. 10.1080/106351598260581.
Bininda-Emonds ORP: Trees versus characters and the supertree/supermatrix "paradox". Syst Biol. 2004, 53 (2): 356-359. 10.1080/10635150490440396.
Gadagkar SR, Rosenberg MS, Kumar S: Inferring species phylogenies from multiple genes: Concatenated sequence tree versus consensus gene tree. J Exp Zool B Mol Dev Evol. 2005, 304B (1): 64-74. 10.1002/jez.b.21026.
Philippe H, Delsuc F, Brinkmann H, Lartillot N: Phylogenomics. Annu Rev Ecol Evol S. 2005, 36: 541-562. 10.1146/annurev.ecolsys.35.112202.130205.
Bull JJ, Huelsenbeck JP, Cunningham CW, Swofford DL, Waddell PJ: Partitioning and combining data in phylogenetic analysis. Syst Biol. 1993, 42 (3): 384-397.
Rodrigo AG, Kelly-Borges M, Bergquist PR, Bergquist PL: A randomization test of the null hypothesis that two cladograms are sample estimates of a parametric phylogenetic tree. New Zeal J Bot. 1993, 31 (3): 257-268.
Huelsenbeck JP, Bull JJ: A likelihood ratio test to detect conflicting phylogenetic signal. Syst Biol. 1996, 45 (1): 92-98. 10.1093/sysbio/45.1.92.
Cunningham CW: Can three incongruence tests predict when data should be combined?. Mol Biol Evol. 1997, 14 (7): 733-740.
Wendel JF, Doyle JJ: Phylogenetic incongruence: Window into genome history and molecular evolution. Molecular systematics of plants II: DNA sequencing. Edited by: Soltis PS, Soltis DE, Doyle JJ. 1998, Dordrecht, The Netherlands: Kluwer Academic Publisher, 265-296.
Planet PJ: Tree disagreement: Measuring and testing incongruence in phylogenies. J Biomed Inform. 2006, 39 (1): 86-102. 10.1016/j.jbi.2005.08.008.
Farris JS, Källersjö M, Kluge AG, Bult C: Testing significance of incongruence. Cladistics. 1994, 10 (3): 315-319. 10.1111/j.1096-0031.1994.tb00181.x.
Barker FK, Lutzoni FM: The utility of the incongruence length difference test. Syst Biol. 2002, 51 (4): 625-637. 10.1080/10635150290102302.
Darlu P, Lecointre G: When does the incongruence length difference test fail?. Mol Biol Evol. 2002, 19 (4): 432-437.
Stewart CB, Schilling JW, Wilson AC: Adaptive evolution in the stomach lysozymes of foregut fermenters. Nature. 1987, 330 (6146): 401-404. 10.1038/330401a0.
Luo CC, Li WH, Chan L: Structure and expression of dog apolipoprotein A-I, E, C-I mRNAs: Implications for the evolution and functional constraints of apolipoprotein structure. J Lipid Res. 1989, 30 (11): 1735-1746.
Wolfe KH, Sharp PM, Li WH: Mutation rates differ among regions of the mammalian genome. Nature. 1989, 337 (6204): 283-285. 10.1038/337283a0.
Springer MS, de Jong WW: Which mammalian supertree to bark up?. Science. 2001, 291 (5509): 1709-1711. 10.1126/science.1059434.
Felsenstein J: Cases in which parsimony or compatibility methods will be positively misleading. Syst Zool. 1978, 27 (4): 401-410. 10.2307/2412923.
Hendy MD, Penny D: A framework for the quantitative study of evolutionary trees. Syst Zool. 1989, 38 (4): 297-309. 10.2307/2992396.
Woolley SM, Posada D, Crandall KA: A comparison of phylogenetic network methods using computer simulation. PLoS ONE. 2008, 3 (4): e1913-10.1371/journal.pone.0001913.
Johnson LA, Soltis DE: Assessing congruence: Empirical examples from molecular data. Molecular systematics of plants II: DNA sequencing. Edited by: Soltis PS, Soltis DE, Doyle JJ. 1998, Dordrecht, The Netherlands: Kluwer Academic Publisher, 297-347.
Legendre P, Lapointe F-J: Assessing congruence among distance matrices: Single-malt Scotch whiskies revisited. Aust NZ J Stat. 2004, 46 (4): 615-629. 10.1111/j.1467-842X.2004.00357.x.
Lapointe F-J, Legendre P: A statistical framework to test the consensus among additive trees (cladograms). Syst Biol. 1992, 41 (2): 158-171.
Kendall MG, Babington Smith B: The problem of m rankings. Annals of Math Stat. 1939, 10: 275-287. 10.1214/aoms/1177732186.
Legendre P: Coefficient of concordance. Encyclopedia of Research Design. Edited by: Salkind NJ. 2010, Thousand Oaks, CA: SAGE Publications, Inc
Huson DH, Bryant D: Application of phylogenetic networks in evolutionary studies. Mol Biol Evol. 2006, 23 (2): 254-267. 10.1093/molbev/msj030.
Holland BR, Benthin S, Lockhart PJ, Moulton V, Huber KT: Using supernetworks to distinguish hybridization from lineage-sorting. BMC Evol Biol. 2008, 8: 202-10.1186/1471-2148-8-202.
Campbell V, Legendre P, Lapointe F-J: Assessing congruence among ultrametric distance matrices. J Classif. 2009, 26 (1): 103-117. 10.1007/s00357-009-9028-x.
Legendre P, Lapointe F-J: Congruence entre matrices de distance. Comptes-rendus des 12ièmes rencontres de la Société Francophone de Classification: Montréal. 2005, Université du Québec, 178-181.
Rokas A, Chatzimanolis S: From gene-scale to genome-scale phylogenetics: The data flood in, but the challenges remain. Methods in Molecular Biology: Phylogenomics. Edited by: Murphy WJ. 2008, Totowa, NJ: Humana Press Inc
Siegel S, Castellan NJJ: Nonparametric statistics for the behavioral sciences. 1988, New York: McGraw-Hill, second
Dolphin K, Belshaw R, Orme CDL, Quicke DLJ: Noise and incongruence: Interpreting results of the incongruence length difference test. Mol Phylogenet Evol. 2000, 17 (3): 401-406. 10.1006/mpev.2000.0845.
Quicke DLJ, Jones OR, Epstein DR: Correcting the problem of false incongruence due to noise imbalance in the incongruence length difference (ILD) test. Syst Biol. 2007, 56 (3): 496-503. 10.1080/10635150701429974.
Brochier C, Forterre P, Gribaldo S: An emerging phylogenetic core of Archaea: Phylogenies of transcription and translation machineries converge following addition of new genome sequences. BMC Evol Biol. 2005, 5: 36-10.1186/1471-2148-5-36.
Bapteste E, Susko E, Leigh J, MacLeod D, Charlebois RL, Doolittle WF: Do orthologous gene phylogenies really support tree-thinking?. BMC Evol Biol. 2005, 5: 33-10.1186/1471-2148-5-33.
Susko E, Leigh J, Doolittle WF, Bapteste E: Visualizing and assessing phylogenetic congruence of core gene sets: A case study of the gamma-proteobacteria. Mol Biol Evol. 2006, 23 (5): 1119-1030. 10.1093/molbev/msj113.
Suchard MA: Stochastic models for horizontal gene transfer: Taking a random walk through tree space. Genetics. 2005, 170 (1): 419-431. 10.1534/genetics.103.025692.
Ané C, Larget B, Baum DA, Smith SD, Rokas A: Bayesian estimation of concordance among gene trees. Mol Biol Evol. 2007, 24 (2): 412-426.
Leigh JW, Susko E, Baumgartner M, Roger AJ: Testing congruence in phylogenomic analysis. Syst Biol. 2008, 57 (1): 104-115. 10.1080/10635150801910436.
Sullivan J, Swofford DL: Should we use model-based methods for phylogenetic inference when we know that assumptions about among-site rate variation and nucleotide substitution pattern are violated?. Syst Biol. 2001, 50 (5): 723-729. 10.1080/106351501753328848.
Ripplinger J, Sullivan J: Does choice in model selection affect maximum likelihood analysis?. Syst Biol. 2008, 57 (1): 76-85. 10.1080/10635150801898920.
Cohen J: Statistical power analysis for the behavioral sciences. 1988, Hillsdale, New Jersey: Lawrence Erlbaum Associates, Second
Lecointre G, Deleporte P: Total evidence requires exclusion of phylogenetically misleading data. Zool Scripta. 2005, 34 (1): 101-117. 10.1111/j.1463-6409.2005.00168.x.
Roy BA: Patterns of association between crucifers and their flower-mimic pathogens: Host-jumps are more common than coevolution or cospeciation. Evolution. 2001, 55 (1): 41-53.
Jackson AP: A reconciliation analysis of host switching in plant-fungal symbioses. Evolution. 2004, 58: 1909-1923.
Réfrégier G, Le Gac M, Jabbour F, Widmer A, Shykoff JA, Yockteng R, Hood ME, Giraud T: Cophylogeny of the anther smut fungi and their caryophyllaceous hosts: Prevalence of host shifts and importance of delimiting parasite species for inferring cospeciation. BMC Evol Biol. 2008, 8: 100.68-
Holland BR, Conner G, Huber K, Moulton V: Imputing supertrees and supernetworks from quartets. Syst Biol. 2007, 56 (1): 57-67. 10.1080/10635150601167013.
Ihaka R, Gentleman R: R: A language for data analysis and graphics. J Comput Graph Stat. 1996, 5: 299-314.69. 10.2307/1390807.
R Development Core Team: R: A language and environment for statistical computing. 2009, R Foundation for Statistical Computing. Vienna
Paradis E, Claude J, Strimmer K: APE: Analyses of Phylogenetics and Evolution in R language. Bioinformatics. 2004, 20 (2): 289-290. 10.1093/bioinformatics/btg412.
Paradis E: Analyses of phylogenetics and evolution with R. 2006, New York: Springer
Edgington ES: Randomization tests. 1995, New York: Marcel Dekker, 3
Saitou N, Nei M: The neighbor-joining method: A new method for reconstructing phylogenetic trees. Mol Biol Evol. 1987, 4 (4): 406-425.
Swofford DL: PAUP* Phylogenetic analysis using parsimony and other methods. 1998, Sunderland, MA: Sinauer Associates, Inc
Rambaut A, Grassly NC: Seq-Gen: An application for the Monte Carlo simulation of DNA sequence evolution along phylogenetic frees. Comput Appl Biosci. 1997, 13 (3): 235-238.
Lanave C, Preparata G, Saccone C, Serio G: A new method for calculating evolutionary substitution rates. J Mol Evol. 1984, 20 (1): 86-93. 10.1007/BF02101990.
Tavaré S: Some probabilistic and statistical problems on the analysis of DNA sequences. Lec Math Life Sci. 1986, 17: 57-86.
Rodriguez F, Oliver JL, Marin A, Medina JR: The general stochastic model of nucleotide substitution. J Theor Biol. 1990, 142 (4): 485-501. 10.1016/S0022-5193(05)80104-3.
Yang ZH: Maximum-likelihood estimation of phylogeny from DNA sequences when substitution rates differ over sites. Mol Biol Evol. 1993, 10 (6): 1396-1401.
Zwickl DJ, Hillis DM: Increased taxon sampling greatly reduces phylogenetic error. Syst Biol. 2002, 51 (4): 588-598. 10.1080/10635150290102339.
Kumar S, Tamura K, Nei M: MEGA: Molecular evolutionary genetics analysis. Version 1.01. 1993, University Park, Pennsylvania: Pennsylvania State University
We would like to thank the members of the Laboratoire d'Écologie Moléculaire et d'Évolution (LEMEE) for their constructive comments on a preliminary version of this manuscript. For the phylogenetic analyses, we used the computational resources located in the Laboratoire Interfacultaires de Micro-Informatique de l'Université de Montréal and we thank Marie-Hélène Duplain for granting access to the lab outside business hours. This study was supported by NSERC and FQRNT scholarships to VC and by NSERC grant OGP0155251 to FJL.
FJL and VC conceived the simulation protocol and participated in its design and realization. PL originally conceived and programmed the CADM method. For this paper, he participated in the elaboration of the simulation protocol and wrote R-language functions for CADM. VC performed the simulations and wrote the manuscript. All authors read, commented, and approved the final manuscript.
About this article
Cite this article
Campbell, V., Legendre, P. & Lapointe, FJ. The performance of the Congruence Among Distance Matrices (CADM) test in phylogenetic analysis. BMC Evol Biol 11, 64 (2011). https://doi.org/10.1186/1471-2148-11-64
- Substitution Rate
- Branch Length
- Rejection Rate
- Distance Matrice
- Identical Tree