Learn R Programming

rphylotastic (version 0.0.4)

newick_compare: Compare two phylogenetic trees

Description

Compare two phylogenetic trees

Usage

newick_compare(trees)

Arguments

trees

A multiphylo object of two newick trees

Value

A named list with are_same_tree property set to either TRUE or FALSE

See Also

https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription

Examples

Run this code
# NOT RUN {
are_same <- newick_compare(c(ape::rcoal(5), ape::rcoal(5)))
# }

Run the code above in your browser using DataLab