R: Move to top of adjacency matrix

find_start_node {ggmuller} | R Documentation

## Move to top of adjacency matrix

### Description

Returns the Parent value of the common ancestor.

### Usage

    find_start_node(edges)

### Arguments

`edges` | Dataframe comprising an adjacency matrix, with column names "Parent" and "Identity"

### Value

The Parent that is the common ancestor.

### Author(s)

Rob Noble, robjohnnoble@gmail.com

### Examples

    edges1 <- data.frame(Parent = c(1,1,1,3,3), Identity = 2:6)
    find_start_node(edges1)

[Package ggmuller version 0.5.1 Index]