read_nexus_phylo | R Documentation |
Create phylo objects from NEXUS or Newick files
read_nexus_phylo( file, simplify = FALSE, missing_edge_length = NA, show_progress = TRUE, ... ) read_newick_phylo( file, simplify = FALSE, missing_edge_length = NA, show_progress = TRUE, ... ) make_phylo(file, simplify = FALSE, missing_edge_length = NA, ...)
file |
Path of NEXUS or Newick file |
simplify |
If the file includes more than one tree, returns only the first tree; otherwise, returns a multiPhylo object |
missing_edge_length |
If the tree contains missing edge
lengths, the value to be attributed to these edge lengths. By
default, ( |
show_progress |
If |
... |
additional parameters to be passed to the rncl function |
These functions read NEXUS or Newick files and return an object of class phylo/multiPhylo.
A phylo or a multiPhylo object
make_phylo
will soon be deprecated, use
read_nexus_phylo
or read_newick_phylo
instead.
Francois Michonneau
rncl-package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.