name.ancestors: Name Ancestral Nodes

Description Usage Arguments Value Author(s) Examples

View source: R/trees.R

Description

Name ancestors of a tree

Usage

1

Arguments

tree

A vector of character strings, each containing a newick tree

Value

A vector of character strings containing newick trees with all ancestors named.

Author(s)

Melissa J. Hubisz and Adam Siepel

Examples

1
2
3
4
trees <- c("((hg18, panTro2), mm9);",
           "((hg18:0.142679,(mm9:0.083220,rn4:0.090564):0.269385):
                0.020666,canFam2:0.193569);")
name.ancestors(trees)

rphast documentation built on May 1, 2019, 9:26 p.m.