Information about annotations, in particular, number of annotations (Nann),
number of annotated leaves (Nannotated), number of unnanotated leaves
(Nunannotated), and number of trees (Ntrees).
Nann(phy)
Nannotated(phy)
Ntrees(phy)Either an object of class aphylo, multiAphylo, or aphylo_estimates.
If phy is of class aphylo, then a single scalar.
otherwise, if phy is of class multiAphylo
Other information:
ape-methods
# Generating data for the example
set.seed(223)
dat <- rmultiAphylo(10, n = 5, P = 2)
Nann(dat)
#> [1] 2 2 2 2 2 2 2 2 2 2
Nannotated(dat)
#> [1] 5 5 5 5 5 5 5 5 5 5
Ntrees(dat)
#> [1] 10