[Phylobase-commits] r495 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 19 02:45:11 CEST 2009


Author: pdc
Date: 2009-08-19 02:45:10 +0200 (Wed, 19 Aug 2009)
New Revision: 495

Modified:
   pkg/man/reorder-methods.Rd
Log:
update reorder docs to closer match code

Modified: pkg/man/reorder-methods.Rd
===================================================================
--- pkg/man/reorder-methods.Rd	2009-08-19 00:35:50 UTC (rev 494)
+++ pkg/man/reorder-methods.Rd	2009-08-19 00:45:10 UTC (rev 495)
@@ -18,17 +18,15 @@
 }
 
 \usage{
-\S4method{reorder}{phylo}(x, ...)
-\S4method{reorder}{phylo4}(x, ...)
-\S4method{reorder}{phylo4d}(x, ...)
+\S4method{reorder}{phylo}(x, order = "cladewise")
+\S4method{reorder}{phylo4}(x, order = c("preorder", "postorder"))
 orderIndex(phy, order = c('preorder','postorder'))
 }
 
 \arguments{
   \item{phy}{a \code{phylo4} or \code{phylo4d} object}
   \item{x}{a \code{phylo4} or \code{phylo4d} object}
-  \item{order}{The desired traversal order currently only 'preorder' and 'postorder' are allowed}
-  \item{\dots}{ A required order agrument (see above) is the only additional argument accepted. }
+  \item{order}{The desired traversal order currently only 'preorder' and 'postorder' are allowed for \code{phylo4} and \code{phylo4d} objects, while only 'cladewise' is accepted for \code{phylo} objects}
 }
 \details{
 The \code{reorder} method takes \code{phylo4} or \code{phylo4d} tree and orders the edge matrix (e.g. \code{edges(phy)}) in the requested traversal order.  Currently only two orderings are permitted and both require rooted trees.  In "postorder" a nodes descendants come before that node, thus the root, being ancestral to all nodes, comes last.  "Preorder" is the converse, a node is visited before it's descendants, thus the root comes first.



More information about the Phylobase-commits mailing list