Get parent node id of child node.
getParent.df(df, node)
df
tree data.frame
node
is the node id of child in tree.
integer node id of parent