links_stat: Link summary of the network

View source: R/topological.R

links_statR Documentation

Description

Link summary of the network

Usage

links_stat(
  go,
  group = "v_class",
  e_type = "all",
  topN = 6,
  colors = NULL,
  legend_number = FALSE,
  legend = TRUE,
  legend_cex = 1,
  legend_position = c(left_leg_x = -1.6, left_leg_y = 1, right_leg_x = 1.2, right_leg_y =
    1),
  col_legend_order = NULL,
  group_legend_title = NULL,
  group_legend_order = NULL
)

Arguments

go

igraph or metanet

group

summary which group of vertex attribution in names(vertex_attr(go))

e_type

"positive", "negative", "all"

topN

topN of group, default:5

colors

colors

legend_number

legend with numbers

legend

all legends

legend_cex

character expansion factor relative to current par("cex"), default: 1

legend_position

legend_position, default: c(left_leg_x=-1.9,left_leg_y=1,right_leg_x=1.2,right_leg_y=1)

col_legend_order

col_legend_order vector,

group_legend_title

group_legend_title, length must same to the numbers of v_group

group_legend_order

group_legend_order vector

Value

plot

See Also

Other topological: extract_sub_net(), fit_power(), get_group_skeleton(), nc(), net_par(), rand_net_par(), rand_net(), smallworldness()

Examples

if (requireNamespace("circlize")) {
  links_stat(co_net, topN = 10)
  module_detect(co_net) -> co_net_modu
  links_stat(co_net_modu, group = "module")
}

MetaNet documentation built on May 29, 2024, 1:21 a.m.