R/8.net_compare.R
c_net_ego.Rd
Wrapper around igraph::make_ego_graph()
that ensures output retains
"metanet" and "igraph" class structure. Supports single or multiple center nodes.
c_net_ego(graph, nodes, order = 1, mode = "all")
metanet
library(igraph)
c_net_plot(co_net)
c_net_plot(c_net_ego(co_net, "s__Kribbella_catacumbae"))
nodes <- c("s__Kribbella_catacumbae", "s__Verrucosispora_andamanensis")
c_net_plot(c_net_ego(co_net, nodes))