Learn R Programming

aphylo (version 0.3-3)

aphylo-info: Information about aphylo and multiAphylo objects

Description

Information about annotations, in particular, number of annotations (Nann), number of annotated leaves (Nannotated), number of unnanotated leaves (Nunannotated), and number of trees (Ntrees).

Usage

Nann(phy)

Nannotated(phy)

Ntrees(phy)

Value

If phy is of class aphylo, then a single scalar. otherwise, if phy is of class multiAphylo

Arguments

phy

Either an object of class aphylo, multiAphylo, or aphylo_estimates.

See Also

Other information: ape-methods

Examples

Run this code
# Generating data for the example
set.seed(223)
dat <- rmultiAphylo(10, n = 5, P = 2)
Nann(dat)
Nannotated(dat)
Ntrees(dat)

Run the code above in your browser using DataLab