format_path: Create a path data frame from a list of nodes.

Description Usage Arguments Value

View source: R/paths.R

Description

Creates a path data frame from a list of nodes.

Usage

1
format_path(graph, nodes)

Arguments

graph

The admixture graph the path is in.

nodes

A list of nodes on a path.

Value

A data frame capturing the path and the probabilities/weights on the edges.


mailund/admixture_graph documentation built on May 21, 2019, 11:06 a.m.