get_path_length: Extract phylogenetic path lengths

View source: R/get_path_length.r

get_path_lengthR Documentation

Extract phylogenetic path lengths

Description

This function extracts the phylogenetic path lengths or root-to-tip divergences from a molecular tree or a non-ultrametric timetree.

Usage

get_path_length(tree)

Arguments

tree

An object of class phylo

Value

This function returns a vector of path lengths.

Author(s)

Kevin Surya


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