[Adephylo-commits] r172 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Nov 7 09:31:35 CET 2011
Author: sdray
Date: 2011-11-07 09:31:34 +0100 (Mon, 07 Nov 2011)
New Revision: 172
Modified:
pkg/R/table.phylo4d.R
Log:
correct a small bug (call to the phylobase's edges function must include phylobase::
Modified: pkg/R/table.phylo4d.R
===================================================================
--- pkg/R/table.phylo4d.R 2011-02-08 12:15:53 UTC (rev 171)
+++ pkg/R/table.phylo4d.R 2011-11-07 08:31:34 UTC (rev 172)
@@ -52,7 +52,7 @@
var.label <- var.label[repVar]
var.label <- var.label[isNum]
## order data like tips
- E <- edges(x)
+ E <- phylobase::edges(x)
tips.ord <- E[,2][!E[,2] %in% E[,1]]
dat <- dat[tips.ord,,FALSE]
tip.label <- tip.label[tips.ord] # reorder tip labels
More information about the Adephylo-commits
mailing list