Learn R Programming

PLEXI (version 1.0.0)

as_plexi_graph: Convert adjacency matrix to plexi graph data

Description

Convert adjacency matrix to plexi graph data

Usage

as_plexi_graph(adj.list, outcome = NULL)

Value

plexi.graph data

Arguments

adj.list

list of adjacency matrices with matching nodes

outcome

graph outcomes or graph labels. If NULL, outcome = 1:N_graphs.

Examples

Run this code
data = example_data()
adj.list = list(data[["adj_mat_example"]], data[["adj_mat_example"]])
graph.data = as_plexi_graph(adj.list)

Run the code above in your browser using DataLab