[Phylobase-commits] r486 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Aug 19 00:04:37 CEST 2009
Author: francois
Date: 2009-08-19 00:04:34 +0200 (Wed, 19 Aug 2009)
New Revision: 486
Modified:
pkg/man/readNexus.Rd
Log:
updated doc to reflect addition of option check.node.labels
Modified: pkg/man/readNexus.Rd
===================================================================
--- pkg/man/readNexus.Rd 2009-08-18 21:51:00 UTC (rev 485)
+++ pkg/man/readNexus.Rd 2009-08-18 22:04:34 UTC (rev 486)
@@ -12,7 +12,8 @@
}
}
\usage{
-readNexus(file, simplify=TRUE, type=c("all","tree","data"), char.all=FALSE, polymorphic.convert=TRUE, levels.uniform=TRUE)
+readNexus(file, simplify=TRUE, type=c("all","tree","data"), char.all=FALSE,
+ polymorphic.convert=TRUE, levels.uniform=TRUE, check.node.labels=c("keep", "drop", "asdata"))
}
\arguments{
\item{file}{a Nexus file}
@@ -21,7 +22,19 @@
\item{char.all}{If TRUE, returns all characters, even those excluded in the NEXUS file}
\item{polymorphic.convert}{If TRUE, converts polymorphic DNA characters to missing data}
\item{levels.uniform}{If TRUE, uses the same levels for all characters}
+ \item{check.node.labels}{Determines how the node labels in the Nexus files should be
+ treated in the phylo4 object, see Details for more information.}
}
+\details{
+ The options for \code{check.node.labels} can take the values:
+ \item{keep}{the node labels of the Nexus file will be passed as node labels
+ in the phylo4 object}
+ \item{drop}{the node labels of the Nexus file will be ignored in the phylo4
+ object}
+ \item{asdata}{the node labels will passed to the phylo4 object as data.}
+ If you use the option \code{asdata} on a file with no node labels, a warning message is
+ issued and by default \code{check.node.labels} takes the value \code{drop}.
+}
\value{
A \linkS4class{phylo4} tree, \linkS4class{phylo4d} object, or a list of trees if simplify=FALSE or there is more than one tree, or a data.frame.
}
More information about the Phylobase-commits
mailing list