plotEgoNetwork: plotEgoNetwork

Description Usage Arguments Value

View source: R/DCARS.R

Description

the plotEgoNetwork function plots network graphs with edges coloured by weights in the network

Usage

1
2
plotEgoNetwork(hubnode, network, weight = "weight", subset = FALSE,
  thresh = NULL)

Arguments

hubnode

is a character vector of node(s) to include as hub nodes

subset

is a logical asking if you should subset based on the weight (default FALSE)

thresh

is the subset weight threshold

g

is an igraph network, with E(g)[[weight]] given as DCARS test statistics

Value

igraph object containing the network graphed. Produces an igraph plot


shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.