Rdocumentation
powered by
Learn R Programming
admixturegraph (version 1.0.2)
agraph_parents: Build the parent incidence matrix from an edge list.
Description
Build the parent incidence matrix from an edge list.
Usage
agraph_parents(nodes, parent_edges)
Arguments
nodes
Nodes in the admxture graph.
parent_edges
An $n x 2$ matrix where the first column is the child node and the second is the parent.
Value
An incidence matrix for the parent structure of an admixture graph.
See Also
agraph_children