R: Record a path through all nodes of an adjacency matrix

path_vector {ggmuller} | R Documentation

## Record a path through all nodes of an adjacency matrix

### Description

Nodes are traversed in the order that they should be stacked in a Muller plot. Each node appears exactly twice.

### Usage

    path_vector(edges)

### Arguments

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

### Value

A vector specifying the path.

### Author(s)

Rob Noble, robjohnnoble@gmail.com

### Examples

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

[Package ggmuller version 0.5.1 Index]