This function creates a leaflet map of the network, and highlights nodes of interest specified by the user.

map_g(g, nodes = NULL)

Arguments

g

The network to be mapped.

nodes

The nodes to be highlighted (in red vs. the default blue).

Examples

f = system.file("sample_data/network", "g100.RDS", package = "SEEDNet") g = readRDS(f) map = map_g(g)