add_centrality: Add centrality to your graph

View source: R/GraphBuilder.R

add_centralityR Documentation

Add centrality to your graph

Description

Add centrality to your graph

Usage

add_centrality(
   graph,
   size = 12
)

Arguments

graph

igraph object representing your graph

size

Default 12, size of the vertice nodes, scales with centrality value

Examples

## Not run: 
graph <- example_graph()
graph <- add_centrality(graph)

## End(Not run)

vanhasseltlab/IMatlas documentation built on Jan. 31, 2023, 12:27 a.m.