Read qpGraph graph file

parse_qpgraph_graphfile(
  graphfile,
  split_multi = TRUE,
  igraph = FALSE,
  uselabels = FALSE
)

Arguments

graphfile

File with admixture graph in qpGraph format.

split_multi

Split multifurcations

igraph

Convert to igraph format

uselabels

Should labels or full names be used? Defaults to full names.

Value

Graph represented as two column edge matrix. Can have four columns if edges are locked