]> git.donarmstrong.com Git - ape.git/blob - Changes
19e350a2dbedeb0bffbc50a9ac0eb2fb17394c58
[ape.git] / Changes
1                 CHANGES IN APE VERSION 2.1-4
2
3
4 BUG FIXES
5
6     o read.dna() failed if "?" occurred in the first 10 sites of the
7       first sequence.
8
9     o The x/y aspect of the plot is now respected when plotting a
10       circular tree (type = "r" or "f").
11
12     o Drawing the tip labels sometimes failed when plotting circular
13       trees.
14
15
16 OTHER CHANGES
17
18     o chronopl() has been improved and gains several options: see its
19       help page for details.
20
21
22
23                 CHANGES IN APE VERSION 2.1-3
24
25
26 BUG FIXES
27
28     o A bug in read.nexus() made the Windows R-GUI crash.
29
30     o An error was fixed in the computation of ancestral character
31       states by generalized least squares in ace().
32
33     o di2multi() did not modify node labels correctly.
34
35     o multi2di() failed if the tree had its attribute "order" set to
36       "cladewise".
37
38
39
40                 CHANGES IN APE VERSION 2.1-2
41
42
43 NEW FEATURES
44
45     o There three new methods for the "multiPhylo" class: str, $,
46       and [[.
47
48     o root() gains the options 'node' and 'resolve.root'
49       (FALSE by default) as well as its code being improved.
50
51     o mltt.plot() has now an option 'log' used in the same way
52       than in plot.default().
53
54
55 BUG FIXES
56
57     o mltt.plot() failed to display the legend with an unnamed
58       list of trees.
59
60     o nodelabels() with pies now correcly uses the argument
61       'cex' to draw symbols of different sizes (which has
62       worked already for thermometers).
63
64     o read.nexus() generally failed to read very big files.
65
66
67 OTHER CHANGES
68
69     o The argument 'family' of compar.gee() can now be a function
70       as well as a character string.
71
72     o read.tree() and read.nexus() now return an unnamed list if
73       'tree.names = NULL'.
74
75     o read.nexus() now returns a modified object of class "multiPhylo"
76       when there is a TRANSLATE block in the NEXUS file: the individual
77       trees have no 'tip.label' vector, but the list has a 'TipLabel'
78       attribute. The new methods '$' and '[[' set these elements
79       correctly when extracting trees.
80
81
82
83                 CHANGES IN APE VERSION 2.1-1
84
85
86 NEW FEATURES
87
88     o The new function rmtree generates lists of random trees.
89
90     o rcoal() now generates a genuine coalescent tree by default
91       (thanks to Vladimir Minin for the code).
92
93
94 BUG FIXES
95
96     o nuc.div() returned an incorrect value with the default
97       pairwise.deletion = FALSE.
98
99
100 OTHER CHANGES
101
102     o The internal codes of bionj(), fastme.bal(), and fastme.ols()
103       have been improved so that they are stabler and faster.
104
105     o R packages used by ape are now loaded silently; lattice and gee
106       are loaded only when needed.
107
108
109
110                 CHANGES IN APE VERSION 2.1
111
112
113 NEW FEATURES
114
115     o The new function identify.phylo identifies clades on a plotted
116       tree using the mouse.
117
118     o It is now possible to subset a list of trees (object of class
119       "multiPhylo") with "[" while keeping its class correct.
120
121     o The new function as.DNAbin.alignment converts DNA sequences
122       stored in the "alignment" format of the package seqinr into
123       an object of class "DNAbin".
124
125     o The new function weight.taxo2 helps to build similarity matrices
126       given two taxonomic levels (usually called by other functions).
127
128     o write.tree() can now take a list of trees (class "multiPhylo")
129       as its main argument.
130
131     o plot.correlogram() and plot.correlogramList() have been
132       improved, and gain several options (see the help page for
133       details). A legend is now plotted by default.
134
135
136 BUG FIXES
137
138     o dist.dna() returned some incorrect values with `model = "JC69"'
139       and `pairwise.deletion = TRUE'. This affected only the
140       distances involving sequences with missing values. (Thanks
141       to Bruno Toupance for digging this bug out.)
142
143     o write.tree() failed with some trees: this is fixed by removing
144       the `multi.line' option (trees are now always printed on a
145       single line).
146
147     o read.nexus() did not correctly detect trees with multiple root
148       edges (see OTHER CHANGES).
149
150
151 OTHER CHANGES
152
153     o The code of mlphylo() has almost entirely rewritten, and should
154       be much stabler. The options have been also greatly simplified
155       (see ?mlphylo and ?DNAmodel for details).
156
157     o The internal function nTips has been renamed klastorin_nTips.
158
159     o The code of is.ultrametric() contained redundancies and has
160       been cleaned-up.
161
162     o The code of Moran.I() and of correlogram.formula() have been
163       improved.
164
165     o read.tree() and read.nexus() now return an error when trying to
166       read a tree with multiple root edges (see BUG FIXES). The
167       correction applied in previous version did not work in all
168       situations.
169
170     o The class c("multi.tree", "phylo") has been renamed
171       "multiPhylo".
172
173
174 DOCUMENTATION
175
176     o There is now a vignette in ape: see vignette("MoranI", "ape").
177
178
179 DEPRECATED & DEFUNCT
180
181     o as.matching() and as.phylo.matching() do not support branch
182       lengths.
183
184     o correlogram.phylo() and discrete.dist() have been removed.
185
186
187
188                 CHANGES IN APE VERSION 2.0-2
189
190
191 NEW FEATURES
192
193     o The new function matexpo computes the exponential of a square
194       matrix.
195
196     o The new function unique.multi.tree removes duplicate trees from
197       a list.
198
199     o yule() has a new option `use.root.edge = FALSE' that specifies
200       to ignore, by default, the root edge of the tree if it exists.
201
202
203 BUG FIXES
204
205     o which.edge() failed when the index of a single terminal edge was
206       looked for.
207
208     o In diversi.time(), the values returned for model C were
209       incorrect.
210
211     o A bug was fixed in yule() that affected the calculation of the
212       likelihood in the presence of ties in the branching times.
213
214     o There was a bug in the C function mat_expo4x4 affecting the
215       calculations of the transition probabilities for models HKY and
216       GTR in mlphylo().
217
218     o A small bug was fixed in as.matrix.DNAbin (thanks to James
219       Bullard).
220
221     o rtree() did not `shuffle' the tip labels by default, so only a
222       limited number of labelled topologies could be generated.
223
224
225
226                 CHANGES IN APE VERSION 2.0-1
227
228
229 NEW FEATURES
230
231     o The three new functions bionj, fastme.ols, and fastme.bal
232       perform phylogeny estimation by the BIONJ and fastME methods in
233       OLS and balanced versions. This is a port to R of previous
234       previous programs done by Vincent Lefort.
235
236     o The new function chronoMPL performs molecular dating with the
237       mean path lengths method of Britton et al. (2002, Mol. Phyl.
238       Evol. 24: 58).
239
240     o The new function rotate, contributed by Christoph Heibl, swaps
241       two clades connected to the same node. It works also with
242       multichotomous nodes.
243
244     o The new `method' as.matrix.DNAbin() may be used to convert
245       easily DNA sequences stored in a list into a matrix while
246       keeping the names and the class.
247
248
249 BUG FIXES
250
251     o chronopl() failed when some branch lengths were equal to zero:
252       an error message is now returned.
253
254     o di2multi() failed when there was a series of consecutive edges
255       to remove.
256
257
258
259                 CHANGES IN APE VERSION 1.10-2
260
261
262 NEW FEATURES
263
264     o plot.phylo() can now plot circular trees: the option is type =
265       "fan" or type = "f" (to avoid the ambiguity with type = "c").
266
267     o prop.part() has a new option `check.labels = FALSE' which allows
268       to considerably speed-up the calculations of bipartitions. As a
269       consequence, calculations of bootstrap values with boot.phylo()
270       should be much faster.
271
272
273 BUG FIXES
274
275     o read.GenBank() did not return correctly the list of species as
276       from ape 1.10: this is fixed in this version
277
278     o Applying as.phylo() on a tree of class "phylo" failed: the
279       object is now returned unchanged.
280
281
282
283                 CHANGES IN APE VERSION 1.10-1
284
285
286 NEW FEATURES
287
288     o The three new functions Ntip, Nnode, and Nedge return, for a
289       given tree, the number of tips, nodes, or edges, respectively.
290
291
292 BUG FIXES
293
294     o read.nexus() did not set correctly the class of the returned
295       object when reading multiple trees.
296
297     o mllt.plot() failed with objects of class c("multi.tree",
298       "phylo").
299
300     o unroot() did not work correctly in most cases.
301
302     o reorder.phylo() made R freeze in some occasions.
303
304     o Plotting a tree in pruningwise order failed.
305
306     o When plotting an unrooted tree, the tip labels where not all
307       correctly positioned if the option `cex' was used.
308
309
310
311                 CHANGES IN APE VERSION 1.10
312
313
314 NEW FEATURES
315
316     o Five new `method' functions have been introduced to manipulate
317       DNA sequences in binary format (see below).
318
319     o Three new functions have been introduced to convert between the
320       new binary and the character formats.
321
322     o The new function as.alignment converts DNA sequences stored as
323       single characters into the class "alignment" used by the package
324       seqinr.
325
326     o read.dna() and read.GenBank() have a new argument `as.character'
327       controlling whether the sequences are returned in binary format
328       or as character.
329
330
331 BUG FIXES
332
333     o root() failed when the tree had node labels: this is fixed.
334
335     o plot.phylo() did not correctly set the limits on the y-axis with
336       the default setting: this is fixed.
337
338     o dist.dna() returned a wrong result for the LogDet, paralinear,
339       and BH87 models with `pairwise.deletion = TRUE'.
340
341
342 OTHER CHANGES
343
344     o DNA sequences are now internally stored in a binary format. See
345       the document "A Bit-Level Coding Scheme for Nucleotides" for the
346       details. Most functions analyzing DNA functions have been
347       modified accordingly and are now much faster (dist.dna is now
348       ca. 60 times faster).
349
350
351
352                 CHANGES IN APE VERSION 1.9-4
353
354
355 BUG FIXES
356
357     o A bug was fixed in edgelabels().
358
359     o as.phylo.hclust() did not work correctly when the object of
360       class "hclust" has its labels set to NULL: the returned tree has
361       now its tip labels set to "1", "2", ...
362
363     o consensus could fail if some tip labels are a subset of others
364       (e.g., "a" and "a_1"): this is now fixed.
365
366     o mlphylo() failed in most cases if some branch lengths of the
367       initial tree were greater than one: an error message is now
368       issued.
369
370     o mlphylo() failed in most cases when estimating the proportion of
371       invariants: this is fixed.
372
373
374
375                 CHANGES IN APE VERSION 1.9-3
376
377
378 NEW FEATURES
379
380     o The new function edgelabels adds labels on the edge of the tree
381       in the same way than nodelabels or tiplabels.
382
383
384 BUG FIXES
385
386     o multi2di() did not handle correctly branch lengths with the
387       default option `random = TRUE': this is now fixed.
388
389     o A bug was fixed in nuc.div() when using pairwise deletions.
390
391     o A bug occurred in the analysis of bipartitions with large
392       numbers of large trees, with consequences on prop.part,
393       prop.clades, and boot.phylo.
394
395     o The calculation of the Billera-Holmes-Vogtmann distance in
396       dist.topo was wrong: this has been fixed.
397
398
399
400                 CHANGES IN APE VERSION 1.9-2
401
402
403 NEW FEATURES
404
405     o The new function ladderize reorganizes the internal structure of
406       a tree to plot them left- or right-ladderized.
407
408     o The new function dist.nodes computes the patristic distances
409       between all nodes, internal and terminal, of a tree. It replaces
410       the option `full = TRUE' of cophenetic.phylo (see below).
411
412
413 BUG FIXES
414
415     o A bug was fixed in old2new.phylo().
416
417     o Some bugs were fixed in chronopl().
418
419     o The edge colours were not correctly displayed by plot.phylo
420       (thank you to Li-San Wang for the fix).
421
422     o cophenetic.phylo() failed with multichotomous trees: this is
423       fixed.
424
425
426 OTHER CHANGES
427
428     o read.dna() now returns the sequences in a matrix if they are
429       aligned (interleaved or sequential format). Sequences in FASTA
430       format are still returned in a list.
431
432     o The option `full' of cophenetic.phylo() has been removed because
433       it could not be used from the generic.
434
435
436 DEPRECATED & DEFUNCT
437
438     o rotate() has been removed; this function did not work correctly
439       since ape 1.9.
440
441
442
443                 CHANGES IN APE VERSION 1.9-1
444
445
446 BUG FIXES
447
448     o Trees with a single tip were not read correctly in R as the
449       element `Nnode' was not set: this is fixed.
450
451     o unroot() did not set correctly the number of nodes of the
452       unrooted tree in most cases.
453
454     o read.GenBank() failed when fetching very long sequences,
455       particularly of the BX-series.
456
457     o A bug was introduced in read.tree() with ape 1.9: it has been
458       fixed
459
460
461
462                 CHANGES IN APE VERSION 1.9
463
464
465 NEW FEATURES
466
467     o There are two new print `methods' for trees of class "phylo" and
468       lists of trees of class "multi.tree", so that they are now
469       displayed in a compact and informative way.
470
471     o There are two new functions, old2new.phylo and new2old.phylo,
472       for converting between the old and new coding of the class
473       "phylo".
474
475     o dist.dna() has three new models: Barry and Hartigan ("BH87"),
476       LogDet ("logdet"), and paralinear ("paralin").
477
478     o compute.brlen() has been extended: several methods are now
479       available to compute branch lengths.
480
481     o write.dna() can now handle matrices as well as lists.
482
483
484 BUG FIXES
485
486     o cophenetic.phylo() sometimes returned a wrong result with
487       multichotomous trees: this is fixed.
488
489     o rotate() failed when a single tip was specified: the tree is now
490       returned unchanged.
491
492     o ace() did not return the correct index matrix with custom
493       models: this is fixed.
494
495     o multi2di() did not work correctly when resolving multichotomies
496       randomly: the topology was always the same, only the arrangement
497       of clades was randomized: this is fixed. This function now
498       accepts trees with no branch lengths.
499
500     o The output of diversi.gof() was blurred by useless prints when a
501       user distribution was specified. This has been corrected, and
502       the help page of this function has been expanded.
503
504
505 OTHER CHANGES
506
507     o The internal structure of the class "phylo" has been changed:
508       see the document "Definition of Formats for Coding Phylogenetic
509       Trees in R" for the details. In addition, the code of most
510       functions has been improved.
511
512     o Several functions have been improved by replacing some R codes
513       by C codes: pic, plot.phylo, and reorder.phylo.
514
515     o There is now a citation information: see citation("ape") in R.
516
517     o write.tree() now does not add extra 0's to branch lengths so
518       that 1.23 is printed "1.23" by default, not "1.2300000000".
519
520     o The syntax of bind.tree() has been simplified. This function now
521       accepts trees with no branch lengths, and handles correctly node
522       labels.
523
524     o The option `as.numeric' of mrca() has been removed.
525
526     o The unused options `format' and `rooted' of read.tree() have
527       been removed.
528
529     o The unused option `format' of write.tree() has been removed.
530
531     o The use of node.depth() has been simplified.
532
533
534
535                 CHANGES IN APE VERSION 1.8-5
536
537
538 NEW FEATURES
539
540     o Two new functions read.nexus.data() and write.nexus.data(),
541       contributed by Johan Nylander, allow to read and write molecular
542       sequences in NEXUS files.
543
544     o The new function reorder.phylo() reorders the internal structure
545       of a tree of class "phylo". It is used as the generic, e.g.,
546       reorder(tr).
547
548     o read.tree() and read.nexus() can now read trees with a single
549       edge.
550
551     o The new data set `cynipids' supplies a set of protein sequences
552       in NEXUS format.
553
554
555 BUG FIXES
556
557     o The code of all.equal.phylo() has been completely rewritten
558       (thanks to Benoît Durand) which fixes several bugs.
559
560     o read.tree() and read.nexus() now checks the labels of the tree
561       to remove or substitute any characters that are illegal in the
562       Newick format (parentheses, etc.)
563
564     o A negative P-value could be returned by mantel.test(): this is
565       now fixed.
566
567
568
569                 CHANGES IN APE VERSION 1.8-4
570
571
572 NEW FEATURES
573
574     o The new function sh.test() computes the Shimodaira-
575       Hasegawa test.
576
577     o The new function collapse.singles() removes the nodes with a
578       single descendant from a tree.
579
580     o plot.phylo() has a new argument `tip.color' to specify the
581       colours of the tips.
582
583     o mlphylo() has now an option `quiet' to control the display of
584       the progress of the analysis (the default is FALSE).
585
586
587 BUG FIXES
588
589     o read.dna() did not read correctly sequences in sequential format
590       with leading alignment gaps "-": this is fixed.
591
592     o ace() returned a list with no class so that the generic
593       functions (anova, logLik, ...) could not be used directly. This
594       is fixed as ace() now returns an object of class "ace".
595
596     o anova.ace() had a small bug when computing the number of degrees
597       of freedom: this is fixed.
598
599     o mlphylo() did not work when the sequences were in a matrix or
600       a data frame: this is fixed.
601
602     o rtree() did not work correctly when trying to simulate an
603       unrooted tree with two tips: an error message is now issued.
604
605
606 OTHER CHANGES
607
608     o The algorithm of rtree() has been changed: it is now about 40,
609       100, and 130 times faster for 10, 100, and 1000 tips,
610       respectively.
611
612
613
614                 CHANGES IN APE VERSION 1.8-3
615
616
617 NEW FEATURES
618
619     o There are four new `method' functions to be used with the
620       results of ace(): logLik(), deviance(), AIC(), and anova().
621
622     o The plot method of phymltest has two new arguments: `main' to
623       change the title, and `col' to control the colour of the
624       segments showing the AIC values.
625
626     o ace() has a new argument `ip' that gives the initial values used
627       in the ML estimation with discrete characters (see the examples
628       in ?ace). This function now returns a matrix giving the indices
629       of the estimated rates when analysing discrete characters.
630
631     o nodelabels() and tiplabels() have a new argument `pie' to
632       represent proportions, with any number of categories, as
633       piecharts. The use of the option `thermo' has been improved:
634       there is now no limitation on the number of categories.
635
636
637 BUG FIXES
638
639     o mlphylo() did not work with more than two partitions: this is
640       fixed.
641
642     o root() failed if the proposed outgroup was already an outgroup
643       in the tree: this is fixed.
644
645     o The `col' argument in nodelabels() and tiplabels() was not
646       correctly passed when `text' was used: this is fixed.
647
648     o Two bugs were fixed in mlphylo(): parameters were not always
649       correctly output, and the estimation failed in some cases.
650
651     o plot.phylo() was stuck when given a tree with a single tip: this
652       is fixed and a message error is now returned.
653
654     o An error was corrected in the help page of gammaStat regarding
655       the calculation of P-values.
656
657     o Using gls() could crash R when the number of species in the tree
658       and in the variables were different: this is fixed.
659
660
661
662                 CHANGES IN APE VERSION 1.8-2
663
664
665 NEW FEATURES
666
667     o The new function mlphylo() fits a phylogenetic tree by maximum
668       likelihood from DNA sequences. Its companion function DNAmodel()
669       is used to define the substitution model which may include
670       partitioning. There are methods for logLik(), deviance(), and
671       AIC(), and the summary() method has been extended to display in
672       a friendly way the results of this model fitting. Currently, the
673       functionality is limited to estimating the substitution and
674       associated parameters and computing the likelihood.
675
676     o The new function drop1.compar.gee (used as, e.g., drop1(m))
677       tests for single effects in GEE-based comparative method. A
678       warning message is printed if there is not enough degrees of
679       freedom.
680
681
682 BUG FIXES
683
684     o An error message was sometimes issued by plot.multi.tree(),
685       though with no consequence.
686
687
688
689                 CHANGES IN APE VERSION 1.8-1
690
691
692 NEW FEATURES
693
694     o There is a new plot method for lists of trees (objects of class
695       "multi.tree"): it calls plot.phylo() internally and is
696       documented on the same help page.
697
698
699 BUG FIXES
700
701     o A bug was fixed in the C code that analyzes bipartitions: this
702       has impact on several functions like prop.part, prop.clades,
703       boot.phylo, or consensus.
704
705     o root() did not work correctly when the specified outgroup had
706       more than one element: this is fixed.
707
708     o dist.dna() sometimes returned a warning inappropriately: this
709       has been corrected.
710
711     o If the distance object given to nj() had no rownames, nj()
712       returned a tree with no tip labels: it now returns tips labelled
713       "1", "2", ..., corresponding to the row numbers.
714
715
716 OTHER CHANGES
717
718     o nj() has been slightly changed so that tips with a zero distance
719       are first aggregated with zero-lengthed branches; the usual NJ
720       procedure is then performed on a distance matrix without 0's.
721
722
723
724                 CHANGES IN APE VERSION 1.8
725
726
727 NEW FEATURES
728
729     o The new function chronopl() estimates dates using the penalized
730       likelihood method by Sanderson (2002; Mol. Biol. Evol., 19:101).
731
732     o The new function consensus() calculates the consensus tree of a
733       list of trees.
734
735     o The new function evolve.phylo() simulates the evolution of
736       continuous characters along a phylogeny under a Brownian model.
737
738     o The new plot method for objects of class "ancestral" displays a
739       tree together with ancestral values, as returned by the above
740       function.
741
742     o The new function as.phylo.formula() returns a phylogeny from a
743       set of nested taxonomic variables given as a formula.
744
745     o The new function read.caic() reads trees in CAIC format.
746
747     o The new function tiplabels() allows to add labels to the tips
748       of a tree using text or plotting symbols in a flexible way.
749
750     o The new function unroot() unroots a phylogeny.
751
752     o multi2di() has a new option, `random', which specifies whether
753       to resolve the multichotomies randomly (the default) or not.
754
755     o prop.part() now returns an object of class "prop.part" for which
756       there are print (to display a partition in a more friendly way)
757       and summary (to extract the numbers) methods.
758
759     o plot.phylo() has a new option, `show.tip.label', specifying
760       whether to print the labels of the tips. The default is TRUE.
761
762     o The code of nj() has been replaced by a faster C code: it is now
763       about 10, 25, and 40 times faster for 50, 100, and 200 taxa,
764       respectively.
765
766     o write.nexus() now writes whether a tree is rooted or not.
767
768
769 BUG FIXES
770
771     o Two bugs have been fixed in root(): unrooted trees are now
772       handled corretly, and node labels are now output normally.
773
774     o A bug was fixed in phymltest(): the executable couldn't be found
775       in some cases.
776
777     o Three bug have been fixed in ace(): computing the likelihood of
778       ancestral states of discrete characters failed, custom models
779       did not work, and the function failed with a null gradient (a
780       warning message is now returned; this latter bug was also
781       present in yule.cov() as well and is now fixed).
782
783     o pic() hanged out when missing data were present: a message error
784       is now returned.
785
786     o A small bug was fixed in dist.dna() where the gamma correction
787       was not always correctly dispatched.
788
789     o plot.phylo() plotted correctly the root edge only when the tree
790       was plotted rightwards: this works now for all directions.
791
792
793 OTHER CHANGES
794
795     o dist.taxo() has been renamed as weight.taxo().
796
797     o Various error and warning messages have been improved.
798
799
800
801                 CHANGES IN APE VERSION 1.7
802 NEW FEATURES
803
804     o The new function ace() estimates ancestral character states for
805       continuous characters (with ML, GLS, and contrasts methods), and
806       discrete characters (with ML only) for any number of states.
807
808     o The new function compar.ou() fits the Ornstein-Uhlenbeck model
809       of directional evolution for continuous characters. The user
810       specifies the node(s) of the tree where the character optimum
811       changes.
812
813     o The new function is.rooted() tests whether a tree (of class
814       "phylo") is rooted.
815
816     o The new function rcoal() generates random ultrametric trees with
817       the possibility to specify the function that generates the
818       inter-nodes distances.
819
820     o The new function mrca() gives for all pairs of tips in a tree
821       (and optionally nodes too) the most recent common ancestor.
822
823     o nodelabels() has a new option `thermo' to plot proportions (up
824       to three classes) on the nodes of a tree.
825
826     o rtree() has been improved: it can now generate rooted or
827       unrooted trees, and the mathematical function that generates the
828       branch lengths may be specified by the user. The tip labels may
829       be given directly in the call to rtree. The limit cases (n = 2,
830       3) are now handled correctly.
831
832     o dist.topo() has a new argument `method' with two choices: "PH85"
833       for Penny and Henny's method (already available before and now
834       the default), and "BHV01" for the geometric distance by Billera
835       et al. (2001, Adv. Appl. Math. 27:733).
836
837     o write.tree() has a new option, `digits', which specifies the
838       number of digits to be printed in the Newick tree. By default
839       digits = 10. The numbers are now always printed in decimal form
840       (i.e., 1.0e-1 is now avoided).
841
842     o dist.dna() can now compute the raw distances between pairs of
843       DNA sequences by specifying model = "raw".
844
845     o dist.phylo() has a new option `full' to possibly compute the
846       distances among all tips and nodes of the tree. The default if
847       `full = FALSE'.
848
849
850 BUG FIXES
851
852     o Several bugs were fixed in all.equal.phylo().
853
854     o dist.dna() did not handle correctly gaps ("-") in alignments:
855       they are now considered as missing data.
856
857     o rotate() did not work if the tips were not ordered: this is
858       fixed.
859
860     o mantel.test() returned NA in some special cases: this is fixed
861       and the function has been improved and is now faster.
862
863     o A bug was fixed in diversi.gof() where the calculation of A² was
864       incorrect.
865
866     o cherry() did not work correctly under some OSs (mainly Linux):
867       this is fixed.
868
869     o is.binary.tree() has been modified so that it works with both
870       rooted and unrooted trees.
871
872     o The documentation of theta.s() was not correct: this has been
873       fixed.
874
875     o plot.mst() did not work correctly: this is fixed.
876
877
878
879                 CHANGES IN APE VERSION 1.6
880
881
882 NEW FEATURES
883
884     o The new function dist.topo() computes the topological distances
885       between two trees.
886
887     o The new function boot.phylo() performs a bootstrap analysis on
888       phylogeny estimation.
889
890     o The new functions prop.part() and prop.clades() analyse
891       bipartitions from a series of trees.
892
893
894 OTHER CHANGES
895
896     o read.GenBank() now uses the EFetch utility of NCBI instead of
897       the usual Web interface: it is now much faster (e.g., 12 times
898       faster to retrieve 8 sequences, 37 times for 60 sequences).
899
900
901 BUG FIXES
902
903     o Several bugs were fixed in read.dna().
904
905     o Several bugs were fixed in diversi.time().
906
907     o is.binary.tree() did not work correctly if the tree has no edge
908       lengths: this is fixed.
909
910     o drop.tip() did not correctly propagated the `node.label' of a
911       tree: this is fixed.
912
913
914
915                 CHANGES IN APE VERSION 1.5
916
917
918 NEW FEATURES
919
920     o Two new functions, as.matching.phylo() and as.phylo.matching(),
921       convert objects between the classes "phylo" and "matching". The
922       latter implements the representation of binary trees introduced by
923       Diaconis and Holmes (1998; PNAS 95:14600). The generic function
924       as.matching() has been introduced as well.
925
926     o Two new functions, multi2di() and di2multi(), allow to resolve
927       and collapse multichotomies with branches of length zero.
928
929     o The new function nuc.div() computes the nucleotide diversity
930       from a sample a DNA sequences.
931
932     o dist.dna() has been completely rewritten with a much faster
933       (particularly for large data sets) C code. Eight models are
934       available: JC69, K80, F81, K81, F84, T92, TN93, and GG95 (the
935       option `method' has been renamed `model'). Computation of variance
936       is available for all models. A gamma-correction is possible for
937       JC69, K80, F81, and TN93. There is a new option, pairwise.deletion,
938       to remove sites with missing data on a pairwise basis. The option
939       `GCcontent' has been removed.
940
941     o read.GenBank() has a new option (species.names) which specifies
942       whether to return the species names of the organisms in addition
943       to the accession numbers of the sequences (this is the default
944       behaviour).
945
946     o write.nexus() can now write several trees in the same NEXUS file.
947
948     o drop.tip() has a new option `root.edge' that allows to specify the
949       new root edge if internal branches are trimmed.
950
951
952 BUG FIXES
953
954     o as.phylo.hclust() failed if some labels had parentheses: this
955       is fixed.
956
957     o Several bugs were fixed in all.equal.phylo(). This function now
958       returns the logical TRUE if the trees are identical but with
959       different representations (a report was printed previously).
960
961     o read.GenBank() did not correctly handle ambiguous base codes:
962       this is fixed.
963
964
965 OTHER CHANGES
966
967     o birthdeath() now returns an object of class "birthdeath" for
968       which there is a print method.
969
970
971
972                 CHANGES IN APE VERSION 1.4
973
974
975 NEW FEATURES
976
977     o The new function nj() performs phylogeny estimation with the
978       neighbor-joining method of Saitou and Nei (1987; Mol. Biol.
979       Evol., 4:406).
980
981     o The new function which.edge() identifies the edges of a tree
982       that belong to a group specified as a set of tips.
983
984     o The new function as.phylo.phylog() converts an object of class
985       "phylog" (from the package ade4) into an object of class
986       "phylo".
987
988     o The new function axisPhylo() draws axes on the side of a
989       phylogeny plot.
990
991     o The new function howmanytrees() calculates the number of trees
992       in different cases and giving a number of tips.
993
994     o write.tree() has a new option `multi.line' (TRUE by default) to
995       write a Newick tree on several lines rather than on a single
996       line.
997
998     o The functionalities of zoom() have been extended. Several
999       subtrees can be visualized at the same time, and they are marked
1000       on the main tree with colors. The context of the subtrees can be
1001       marked with the option `subtree' (see below).
1002
1003     o drop.tip() has a new option `subtree' (FALSE by default) which
1004       specifies whether to output in the tree how many tips have been
1005       deleted and where.
1006
1007     o The arguments of add.scale.bar() have been redefined and have
1008       now default values (see ?add.scale.bar for details). This
1009       function now works even if the plotted tree has no edge length.
1010
1011     o plot.phylo() can now plot radial trees, but this does not take
1012       edge lengths into account.
1013
1014     o In plot.phylo() with `type = "phylogram"', if the values of
1015       `edge.color' and `edge.width' are identical for sister-branches,
1016       they are propagated to the vertical line that link them.
1017
1018
1019 BUG FIXES
1020
1021     o Repeated calls to as.phylo.hclust() or as.hclust.phylo() made R
1022       crashing. This is fixed.
1023
1024     o In plot.phylo(), the options `edge.color' and `edge.width' are
1025       now properly recycled; their default values are now "black" and
1026       1, respectively.
1027
1028     o A bug has been fixed in write.nexus().
1029
1030
1031 OTHER CHANGES
1032
1033     o The function node.depth.edgelength() has been removed and
1034       replaced by a C code.
1035
1036
1037
1038                 CHANGES IN APE VERSION 1.3-1
1039
1040
1041 NEW FEATURES
1042
1043     o The new function nodelabels() allows to add labels to the nodes
1044       of a tree using text or plotting symbols in a flexible way.
1045
1046     o In plot.phylo() the arguments `x.lim' and `y.lim' can now be two
1047       numeric values specifying the lower and upper limits on the x-
1048       and y-axes. This allows to leave some space on any side of the
1049       tree. If a single value is given, this is taken as the upper
1050       limit (as before).
1051
1052
1053
1054                 CHANGES IN APE VERSION 1.3
1055
1056
1057 NEW FEATURES
1058
1059     o The new function phymltest() calls the software PHYML and fits
1060       28 models of DNA sequence evolution. There are a print method to
1061       display likelihood and AIC values, a summary method to compute
1062       the hierarchical likelihood ratio tests, and a plot method to
1063       display graphically the AIC values of each model.
1064
1065     o The new function yule.cov() fits the Yule model with covariates,
1066       a model where the speciation rate is affected by several species
1067       traits through a generalized linear model. The parameters are
1068       estimated by maximum likelihood.
1069
1070     o Three new functions, corBrownian(), corGrafen(), and
1071       corMartins(), compute the expected correlation structures among
1072       species given a phylogeny under different models of evolution.
1073       These can be used for GLS comparative phylogenetic methods (see
1074       the examples). There are coef() and corMatrix() methods and an
1075       Initialize.corPhyl() function associated.
1076
1077     o The new function compar.cheverud() implements Cheverud et al.'s
1078       (1985; Evolution 39:1335) phylogenetic comparative method.
1079
1080     o The new function varcomp() estimates variance components; it has
1081       a plot method.
1082
1083     o Two new functions, panel.superpose.correlogram() and
1084       plot.correlogramList(), allow to plot several phylogenetic
1085       correlograms.
1086
1087     o The new function node.leafnumber() computes the number of leaves
1088       of a subtree defined by a particular node.
1089
1090     o The new function node.sons() gets all tags of son nodes from a
1091       given parent node.
1092
1093     o The new function compute.brlen() computes the branch lengths of
1094       a tree according to a specified method.
1095
1096     o plot.phylo() has three new options: "cex" controls the size of
1097       the (tip and node) labels (thus it is no more needed to change
1098       the global graphical parameter), "direction" which allows to
1099       plot the tree rightwards, leftwards, upwards, or downwards, and
1100       "y.lim" which sets the upper limit on the y-axis.
1101
1102
1103 BUG FIXES
1104
1105     o Some functions which try to match tip labels and names of
1106       additional data (e.g. vector) are likely to fail if there are
1107       typing or syntax errors. If both series of names do not perfectly
1108       match, they are ignored and a warning message is now issued.
1109       These functions are bd.ext, compar.gee, pic. Their help pages
1110       have been clarified on this point.
1111
1112
1113
1114                 CHANGES IN APE VERSION 1.2-7
1115
1116
1117 NEW FEATURES
1118
1119     o The new function root() reroots a phylogenetic tree with respect
1120       to a specified outgroup.
1121
1122     o The new function rotate() rotates an internal branch of a tree.
1123
1124     o In plot.phylo(), the new argument "lab4ut" (labels for unrooted
1125       trees) controls the display of the tip labels in unrooted trees.
1126       This display has been greatly improved: the tip labels are now not
1127       expected to overlap with the tree (particularly if lab4ut =
1128       "axial"). In all cases, combining appropriate values of "lab4ut"
1129       and the font size (via "par(cex = )") should result in readable
1130       unrooted trees. See ?plot.phylo for some examples.
1131
1132     o In drop.tip(), the argument `tip' can now be numeric or character.
1133
1134
1135 BUG FIXES
1136
1137     o drop.tip() did not work correctly with trees with no branch
1138       lengths: this is fixed.
1139
1140     o A bug in plot.phylo(..., type = "unrooted") made some trees being
1141       plotted with some line crossings: this is now fixed.
1142
1143
1144
1145                 CHANGES IN APE VERSION 1.2-6
1146
1147
1148 NEW FEATURES
1149
1150     o Six new functions (Moran.I, correlogram.formula, discrete.dist,
1151       correlogram.phylo, dist.taxo, plot.correlogram) have been added
1152       to implement comparative methods with an autocorrelation approach.
1153
1154     o A new data set describing some life history traits of Carnivores
1155       has been included.
1156
1157
1158 BUG FIXES
1159
1160     o A fix was made on mcmc.popsize() to conform to R 2.0.0.
1161
1162
1163 OTHER CHANGES
1164
1165     o When plotting a tree with plot.phylo(), the new default of the
1166       option `label.offset' is now 0, so the labels are always visible.
1167
1168
1169
1170                 CHANGES IN APE VERSION 1.2-5
1171
1172
1173 NEW FEATURES
1174
1175     o The new function bd.ext() fits a birth-death model with combined
1176       phylogenetic and taxonomic data, and estimates the corresponding
1177       speciation and extinction rates.
1178
1179
1180 OTHER CHANGES
1181
1182     o The package gee is no more required by ape but only suggested
1183       since only the function compar.gee() calls gee.
1184
1185
1186
1187                 CHANGES IN APE VERSION 1.2-4
1188
1189
1190 NEW FEATURES
1191
1192     o Four new functions (mcmc.popsize, extract.popsize, plot.popsize,
1193       and lines.popsize) implementing a new approach for inferring the
1194       demographic history from genealogies using a reversible jump
1195       MCMC have been introduced.
1196
1197     o The unit of time in the skyline plot and in the new plots can
1198       now be chosen to be actual years, rather than substitutions.
1199
1200
1201
1202                 CHANGES IN APE VERSION 1.2-3
1203
1204
1205 NEW FEATURES
1206
1207     o The new function rtree() generates a random binary tree with or
1208       without branch lengths.
1209
1210     o Two new functions for drawing lineages-through-time (LTT) plots
1211       are provided: ltt.lines() adds a LTT curve to an existing plot,
1212       and mltt.plot() does a multiple LTT plot giving several trees as
1213       arguments (see `?ltt.plot' for details).
1214
1215
1216 BUG FIXES
1217
1218     o Some taxon names made R crashing when calling as.phylo.hclust():
1219       this is fixed.
1220
1221     o dist.dna() returned an error with two identical DNA sequences
1222       (only using the Jukes-Cantor method returned 0): this is fixed.
1223
1224
1225 OTHER CHANGES
1226
1227     o The function dist.phylo() has been re-written using a different
1228       algorithm: it is now about four times faster.
1229
1230     o The code of branching.times() has been improved: it is now about
1231       twice faster.
1232
1233
1234
1235                 CHANGES IN APE VERSION 1.2-2
1236
1237
1238 NEW FEATURES
1239
1240     o The new function seg.sites() finds the segregating sites in a
1241       sample of DNA sequences.
1242
1243
1244 BUG FIXES
1245
1246     o A bug introduced in read.tree() and in read.nexus() with version
1247       1.2-1 was fixed.
1248
1249     o A few errors were corrected and a few examples were added in the
1250       help pages.
1251
1252
1253
1254                 CHANGES IN APE VERSION 1.2-1
1255
1256
1257 NEW FEATURES
1258
1259     o plot.phylo() can now draw the edge of the root of a tree if it
1260       has one (see the new option `root.edge', its default is FALSE).
1261
1262
1263 BUG FIXES
1264
1265     o A bug was fixed in read.nexus(): files with semicolons inside
1266       comment blocks were not read correctly.
1267
1268     o The behaviour of read.tree() and read.nexus() was corrected so
1269       that tree files with badly represented root edges (e.g., with
1270       an extra pair of parentheses, see the help pages for details)
1271       are now correctly represented in the object of class "phylo";
1272       a warning message is now issued.
1273
1274
1275
1276                 CHANGES IN APE VERSION 1.2
1277
1278
1279 NEW FEATURES
1280
1281     o plot.phylo() has been completely re-written and offers several
1282       new functionalities. Three types of trees can now be drawn:
1283       phylogram (as previously), cladogram, and unrooted tree; in
1284       all three types the branch lengths can be drawn using the edge
1285       lengths of the phylogeny or not (e.g., if the latter is absent).
1286       The vertical position of the nodes can be adjusted with two
1287       choices (see option `node.pos'). The code has been re-structured,
1288       and two new functions (potentially useful for developpers) are
1289       documented separately: node.depth.edgelength() and node.depth();
1290       see the respective help pages for details.
1291
1292     o The new function zoom() allows to explore very large trees by
1293       focusing on a small portion of it.
1294
1295     o The new function yule() fits by maximum likelihood the Yule model
1296       (birth-only process) to a phylogenetic tree.
1297
1298     o Support for writing DNA sequences in FASTA format has been
1299       introduced in write.dna() (support for reading sequences in
1300       this format was introduced in read.dna() in version 1.1-2).
1301       The function has been completely re-written, fixing some bugs
1302       (see below); the default behaviour is no more to display the
1303       sequences on the standard output. Several options have been
1304       introduced to control the sequence printing in a flexible
1305       way. The help page has been extended.
1306
1307     o A new data set is included: a supertree of bats in NEXUS format.
1308
1309
1310 BUG FIXES
1311
1312     o In theta.s(), the default of the option `variance' has
1313       been changed to `FALSE' (as was indicated in the help page).
1314
1315     o Several bugs were fixed in the code of all.equal.phylo().
1316
1317     o Several bugs were fixed in write.dna(), particularly this
1318       function did not work with `format = "interleaved"'.
1319
1320     o Various errors were corrected in the help pages.
1321
1322
1323 OTHER CHANGES
1324
1325     o The argument names of as.hclust.phylo() have been changed
1326       from "(phy)" to "(x, ...)" to conform to the definition of
1327       the corresponding generic function.
1328
1329     o gamma.stat() has been renamed gammaStat() to avoid confusion
1330       since gamma() is a generic function.
1331
1332
1333
1334                 CHANGES IN APE VERSION 1.1-3
1335
1336
1337 BUG FIXES
1338
1339     o base.freq() previously did not return a value of 0 for
1340       bases absent in the data (e.g., a vector of length 3 was
1341       returned if one base was absent). This is now fixed (a
1342       vector of length 4 is always returned).
1343
1344     o Several bugs were fixed in read.nexus(), including that this
1345       function did not work in this absence of a "TRANSLATE"
1346       command in the NEXUS file, and that the commands were
1347       case-sensitive.
1348
1349
1350
1351                 CHANGES IN APE VERSION 1.1-2
1352
1353
1354 NEW FEATURES
1355
1356     o The Tamura and Nei (1993) model of DNA distance is now implemented
1357       in dist.dna(): five models are now available in this function.
1358
1359     o A new data set is included: a set of 15 sequences of the
1360       cytochrome b mitochondrial gene of the woodmouse (Apodemus
1361       sylvaticus).
1362
1363
1364 BUG FIXES
1365
1366     o A bug in read.nexus() was fixed.
1367
1368     o read.dna() previously did not work correctly in most cases.
1369       The function has been completely re-written and its help page
1370       has been considerably extended (see ?read.dna for details).
1371       Underscores (_) in taxon names are no more replaced with
1372       spaces (this behaviour was undocumented).
1373
1374     o A bug was fixed in write.dna().
1375
1376
1377
1378                 CHANGES IN APE VERSION 1.1-1
1379
1380
1381 BUG FIXES
1382
1383     o A bug in read.tree() introduced in APE 1.1 was fixed.
1384
1385     o A bug in compar.gee() resulted in an error when trying to fit
1386       a model with `family = "binomial"'. This is now fixed.
1387
1388
1389
1390                 CHANGES IN APE VERSION 1.1
1391
1392
1393 NEW FEATURES
1394
1395     o The Klastorin (1982) method as suggested by Misawa and Tajima
1396       (2000, Mol. Biol. Evol. 17:1879-1884) for classifying genes
1397       on the basis of phylogenetic trees has been implemented (see
1398       the function klastorin()).
1399
1400     o Functions have been added to convert APE's "phylo" objects in
1401       "hclust" cluster objects and vice versa (see the help page of
1402       as.phylo for details).
1403
1404     o Three new functions, ratogram(), chronogram() and NPRS.criterion(),
1405       are introduced for the estimation of absolute evolutionary rates
1406       (ratogram) and dated clock-like trees (chronogram) from
1407       phylogenetic trees using the non-parametric rate smoothing approach
1408       by MJ Sanderson (1997, Mol. Biol. Evol. 14:1218-1231).
1409
1410     o A summary method is now provided printing a summary information on a
1411       phylogenetic tree with, for instance, `summary(tree)'.
1412
1413     o The behaviour of read.tree() was changed so that all spaces and
1414       tabulations in tree files are now ignored. Consequently, spaces in tip
1415       labels are no more allowed. Another side effect is that read.nexus()
1416       now does not replace the underscores (_) in tip labels with spaces
1417       (this behaviour was undocumented).
1418
1419     o The function plot.phylo() has a new option (`underscore') which
1420       specifies whether the underscores in tip labels should be written on
1421       the plot as such or replaced with spaces (the default).
1422
1423     o The function birthdeath() now computes 95% confidence intervals of
1424       the estimated parameters using profile likelihood.
1425
1426     o Three new data sets are included: a gene tree estimated from 36
1427       landplant rbcL sequences, a gene tree estimated from 32 opsin
1428       sequences, and a gene tree for 50 BRCA1 mammalian sequences.
1429
1430
1431 BUG FIXES
1432
1433     o A bug was fixed in dist.gene() where nothing was returned.
1434
1435     o A bug in plot.mst() was fixed.
1436
1437     o A bug in vcv.phylo() resulted in false correlations when the
1438       option `cor = TRUE' was used (now fixed).
1439
1440
1441
1442                 CHANGES IN APE VERSION 1.0
1443
1444
1445 NEW FEATURES
1446
1447     o Two new functions, read.dna() and write.dna(), read/write in a file
1448       DNA sequences in interleaved or in sequential format.
1449
1450     o Two new functions, read.nexus() and write.nexus(), read/write trees
1451       in a NEXUS file.
1452
1453     o The new function bind.tree() allows to bind two trees together,
1454       possibly handling root edges to give internal branches.
1455
1456     o The new function drop.tip() removes the tips in a phylogenetic tree,
1457       and trims (or not) the corresponding internal branches.
1458
1459     o The new function is.ultrametric() tests if a tree is ultrametric.
1460
1461     o The function plot.phylo() has more functionalities such as drawing the
1462       branches with different colours and/or different widths, showing the
1463       node labels, controling the position and font of the labels, rotating
1464       the labels, and controling the space around the plot.
1465
1466     o The function read.tree() can now read trees with no branch length,
1467       such as "(a,b),c);". Consequently, the element `edge.length' in
1468       objects of class "phylo" is now optional.
1469
1470     o The function write.tree() has a new default behaviour: if the default
1471       for the option `file' is used (i.e. file = ""), then a variable of
1472       mode character containing the tree in Newick format is returned which
1473       can thus be assigned (e.g., tree <- write.tree(phy)).
1474
1475     o The function read.tree() has a new argument `text' which allows
1476       to read the tree in a variable of mode character.
1477
1478     o A new data set is included: the phylogenetic relationships among
1479       the orders of birds from Sibley and Ahlquist (1990).
1480
1481
1482
1483                 CHANGES IN APE VERSION 0.2-1
1484
1485
1486 BUG FIXES
1487
1488     o Several bugs were fixed in the help pages.
1489
1490
1491
1492                 CHANGES IN APE VERSION 0.2
1493
1494
1495 NEW FEATURES
1496
1497     o The function write.tree() writes phylogenetic trees (objects of class
1498       "phylo") in an ASCII file using the Newick parenthetic format.
1499
1500     o The function birthdeath() fits a birth-death model to branching times
1501       by maximum likelihood, and estimates the corresponding speciation and
1502       extinction rates.
1503
1504     o The function scale.bar() adds a scale bar to a plot of a phylogenetic
1505       tree.
1506
1507     o The function is.binary.tree() tests whether a phylogeny is binary.
1508
1509     o Two generic functions, coalescent.intervals() and collapsed.intervals(),
1510       as well as some methods are introduced.
1511
1512     o Several functions, including some generics and methods, for computing
1513       skyline plot estimates (classic and generalized) of effective
1514       population size through time are introduced and replace the function
1515       skyline.plot() in version 0.1.
1516
1517     o Two data sets are now included: the phylogenetic relationships among
1518       the families of birds from Sibley and Ahlquist (1990), and an
1519       estimated clock-like phylogeny of HIV sequences sampled in the
1520       Democratic Republic of Congo.
1521
1522
1523 DEPRECATED & DEFUNCT
1524
1525     o The function skyline.plot() in ape 0.1 has been deprecated and
1526       replaced by more elaborate functions (see above).
1527
1528
1529 BUG FIXES
1530
1531     o Two important bugs were fixed in plot.phylo(): phylogenies with
1532       multichotomies not at the root or not with only terminal branches,
1533       and phylogenies with a single node (i.e. only terminal branches)
1534       did not plot. These trees should be plotted correctly now.
1535
1536     o Several bugs were fixed in diversi.time() in the computation of
1537       AICs and LRTs.
1538
1539     o Various errors were corrected in the help pages.