agraph_weights: Build the matrix of admixture proportions from an edge list.

Description Usage Arguments Value

Description

Build the matrix of admixture proportions from an edge list.

Usage

1
agraph_weights(nodes, admixture_weights, parents)

Arguments

nodes

The name of the nodes in the admxture graph.

admixture_weights

An n x 3 matrix where the first column is the child node, the second isthe parent and the third is the admixture weight on that edge.

parents

The parent edge list. Used for checking graph consistency.

Value

A matrix containing the admixture weights.


admixturegraph documentation built on May 2, 2019, 6:02 a.m.