term_node_pos {treeheatr} | R Documentation |
Create node layout using a bottom-up approach (literally) and overwrites ggparty-precomputed positions in plot_data.
term_node_pos(plot_data, dat)
plot_data |
Dataframe output of 'ggparty:::get_plot_data()'. |
dat |
Dataframe of prediction values with scaled columns and clustered samples. |
Dataframe with terminal node information.