Skip to contents

Function for the assignment of edges weights in order to better visualize the communities

Usage

edge_weights(community, network, weight.within = 100, weight.between = 1)

Arguments

community

list with the mandatory field "membership"

network

pathway network

weight.within

value to weight the attraction between two vertices of the same community

weight.between

value to weight the attraction between two vertices of two distinct communities

Value

vector of edge weights