getNodeAngle.df: getNodeAngle.df

getNodeAngle.dfR Documentation

getNodeAngle.df

Description

Get the angle between the two nodes specified.

Usage

getNodeAngle.df(df, origin_node_id, node_id)

Arguments

df

tree data.frame

origin_node_id

origin node id number

node_id

end node id number

Value

angle in range ⁠[-1, 1]⁠, i.e. degrees/180, radians/pi


YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.