Skip to contents

Process a phylo object or a character string to determine if it's correct newick

Usage

input_process(input)

Arguments

input

Taxon names as one of the following:

A character vector of taxon names

With taxon names as a single comma separated starting or concatenated with c().

A phylogenetic tree with taxon names as tip labels

As a phylo or multiPhylo object, OR as a newick character string.

Value

A phylo object or NA if input is not a tree .