get_igraph: Create igraph object

View source: R/get_igraph.R

get_igraphR Documentation

Create igraph object

Description

This is function is a wrapper around igraph::graph_from_data_frame() to generate igraph objects for each subcommunity defined earlier in the bngal pipeline.

Usage

get_igraph(prepro.data, directed. = FALSE)

Arguments

prepro.data

Output from prepare_net_features

directed.

See directed option from igraph::graph_from_data_frame. Defaults to FALSE for pairwise correlation data.

Examples

get_igraph(prepped_nodes_edges)

mselensky/bngal documentation built on June 3, 2024, 6:27 a.m.