Extracts tip labels from an object. If the object is a single integer,
TipLabels
will return a vector t1
, t2
... tn
, to match
the default of ape::rtree
.
TipLabels(x, single = TRUE)# S3 method for matrix
TipLabels(x, single = TRUE)
# S3 method for phylo
TipLabels(x, single = TRUE)
# S3 method for TreeNumber
TipLabels(x, single = TRUE)
# S3 method for Splits
TipLabels(x, single = TRUE)
# S3 method for list
TipLabels(x, single = FALSE)
# S3 method for multiPhylo
TipLabels(x, single = FALSE)
# S3 method for character
TipLabels(x, single = TRUE)
# S3 method for numeric
TipLabels(x, single = TRUE)
# S3 method for phyDat
TipLabels(x, single = TRUE)
# S3 method for default
TipLabels(x, single = TRUE)
An object of a supported class (see Usage section).
Logical specifying whether to report the labels for the first
object only (TRUE
), or for each object in a list (FALSE
).
TipLabels
returns a character vector listing the tip labels for the
specified object.
Other Splits operations: NSplits
,
NTip
, TipsInSplits
,
as.Splits
, in.Splits
,
match.Splits