rtreePhylo: Generate random trees using an input tree to get taxon names...

View source: R/rtreePhylo.R

rtreePhyloR Documentation

Generate random trees using an input tree to get taxon names and tips

Description

A wrapper around rtree

Usage

rtreePhylo(x, N = 1, ...)

Arguments

x

an object of class phylo

N

number of trees to return

...

extra arguments to pass along to rtree

Value

an object of class multiPhylo

Author(s)

Andrew Hipp

See Also

genTrees

Examples

	data(oak.tree)
	a <- rtreePhylo(oak.tree, 4)
	layout(matrix(1:4,2,2))
	lapply(a, plot)
	

andrew-hipp/RADami documentation built on Nov. 9, 2023, 5:40 p.m.