This function returns a flat vector or a structured list of elementary inputs to a given consensus tree, that is, inputs that are not consensus trees themselves.
consensusTreeInputs(consensusTree, flatten = TRUE)
A consensus tree of class ConsensusTree
.
Logical; if TRUE
, the function returns a flat character vector of inputs; otherwise, a list whose structure reflects
the structure of consensusTree
.
A character vector of inputs or a list of inputs whose structure reflects
the structure of consensusTree
.
newConsensusTree
for creating consensus trees.