as_plexi_graph {PLEXI}R Documentation

Convert adjacency matrix to plexi graph data

Description

Convert adjacency matrix to plexi graph data

Usage

as_plexi_graph(adj.list, outcome = NULL)

Arguments

adj.list

list of adjacency matrices with matching nodes

outcome

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

Value

plexi.graph data

Examples

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


[Package PLEXI version 1.0.0 Index]