dist.internode: find the distance of two taxa

dist.internodeR Documentation

find the distance of two taxa

Description

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

Usage

dist.internode(tree, taxaname)

Arguments

tree

a tree in the Newick format

taxaname

taxa names

Author(s)

Liang Liu

Examples

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)
dist.internode(treestr, taxaname)

lliu1871/phybase documentation built on April 21, 2024, 3:16 a.m.