File: allFurcTrees.Rd

package info (click to toggle)
r-cran-phytools 0.6-60-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,620 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{allFurcTrees}
\alias{allFurcTrees}
\title{Generate all bi- and multifurcating unrooted trees}
\usage{
allFurcTrees(n, tip.label=NULL, to.plot=TRUE)
}
\arguments{
	\item{n}{an integer giving the desired number of species.}
	\item{tip.label}{an optional vector of length n containing the tip names.}
	\item{to.plot}{an optional logical value indicating whether or not to plot the trees.}
}
\description{
	This function creates all possible unrooted bi- and multifurcating trees and returns a list of trees as an object of class \code{"multiPhylo"}.
}
\details{
	This function should be used with caution for \code{n} greater than about 8, as in this case the number of possible trees is extremely large.
}
\value{
	A list of trees as an object of class \code{"multiPhylo"}.
}
\references{
	Felsenstein, J. 2004. \emph{Inferring Phylogenies}. Sinauer.

	Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). \emph{Methods Ecol. Evol.}, \bold{3}, 217-223.
}
\author{Liam Revell \email{liam.revell@umb.edu}}
\seealso{
	\code{\link{add.everywhere}}, \code{\link{exhaustiveMP}}
}
\keyword{phylogenetics}
\keyword{inference}