nancdist: Get ancestors and their divergence times

Description Usage Arguments Author(s) Examples

Description

This function calculates the distance of two sequences on the basis of number of ancestors between two sequences.

Usage

1
nancdist(tree, taxaname)

Arguments

tree

a tree in the Newick format

taxaname

taxa names

Author(s)

Liang Liu

Examples

1
2
3
treestr<-"((((H:0.1,C:0.1):0.1,G:0.1):0.1,O:0.1):0.1,W:0.1);"
taxaname<-species.name(treestr)
nancdist(treestr, taxaname)

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.