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


GuangchuangYu/ggtree documentation built on Oct. 31, 2024, 10:10 a.m.