Learn R Programming

admixturegraph (version 1.0.2)

graph_to_vector: Graph to vector.

Description

Encodes an agraph object into a logical vector for saving memory. The admixture proportion names will be lost.

Usage

graph_to_vector(graph)

Arguments

graph
A graph.

Value

The logical vector representing the graph.