find_start_node {ggmuller} | R Documentation |
Returns the Parent value of the common ancestor.
find_start_node(edges)
edges |
Dataframe comprising an adjacency matrix, with column names "Parent" and "Identity" |
The Parent that is the common ancestor.
Rob Noble, robjohnnoble@gmail.com
edges1 <- data.frame(Parent = c(1,1,1,3,3), Identity = 2:6)
find_start_node(edges1)