export_tree: Export phylogenetic tree to a file

View source: R/export_tree.r

export_treeR Documentation

Export phylogenetic tree to a file

Description

This function exports a phylogenetic tree as a NEXUS-formatted file; it is an alias of the writeNexus function from the R package phytools.

Usage

export_tree(tree, file)

Arguments

tree

An object of class phylo

file

Output file directory

Value

This function outputs a NEXUS tree file.

Author(s)

Kevin Surya

References

Revell (2012)


suryakevin/drugcandy documentation built on May 6, 2022, 6:37 p.m.