Skip to contents

Make a set of convex hulls to visualize the community

Usage

make_convex_hulls(model, net, cut = NULL, f_color = viridis::turbo)

Arguments

model

a model defined as a compound [list]

net

a network object

cut

if !null, the number of communities for igraph::cut_at

f_color

a function that returns a list of colors (e.g. viridis::turbo)

Value

the network object with convex hulls attached