unique.multiPhylo

0th

Percentile

Revomes Duplicate Trees

This function scans a list of trees, and returns a list with the duplicate trees removed. By default the labelled topologies are compared.

Keywords
manip
Usage
## S3 method for class 'multiPhylo':
unique(x, incomparables = FALSE,
        use.edge.length = FALSE,
        use.tip.label = TRUE, ...)
Value

an object of class "multiPhylo" which is a list of objects of class "phylo".

See Also

all.equal.phylo, unique for the generic R function, read.tree, read.nexus

Aliases
Examples
TR <- rmtree(50, 4)
length(unique(TR)) # not always 15...
howmanytrees(4)
Documentation reproduced from package ape, version 3.0-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.