getNodeAngle.df {ggtree} | R 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

[Package ggtree version 1.12.7 Index]