tree_check: Checks if a tree is a phylo class object otherwise it uses...

Description Usage Arguments Value

View source: R/tree_processing.R

Description

Checks if a tree is a phylo class object otherwise it uses input_process. Additionally it can check if tree is a chronogram with phylo_check

Usage

1
tree_check(tree = NULL, ...)

Arguments

tree

A tree either as a newick character string or as a phylo object

...

Arguments passed on to phylo_check

dated

Boolean. If TRUE it checks if phylo object has branch lengths and is ultrametric.

Value

If tree is correctly formatted, it returns a phylo object


phylotastic/datelife documentation built on Jan. 14, 2019, 9:56 p.m.