average.graph: Calculate The Average Graph

Description Usage Arguments Examples

View source: R/tools.R

Description

This function allows you to calculate the average graph from a list of graphs.

Usage

1
average.graph(graphs, threshold = 0.5, to = "igraph")

Arguments

graphs

List of graphs.

threshold

Minimum strength required for a coefficient to be included in the average graph (optional). Default: 0.5

to

Output format ('adjacency', 'edges', 'graph', 'igraph', or 'bnlearn') (optional).

Examples

1
graph <- average.graph(graphs)

rlebron-bioinfo/gnlearn documentation built on July 25, 2020, 12:38 p.m.