find_start_node: Move to top of adjacency matrix

View source: R/MullerPlot.R

find_start_nodeR 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)


ggmuller documentation built on Feb. 16, 2023, 7:42 p.m.