plotEgoNetwork: plotEgoNetwork

plotEgoNetworkR Documentation

plotEgoNetwork

Description

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

Usage

plotEgoNetwork(
  scHOT,
  hubnode,
  network,
  weight = "higherOrderStatistic",
  subset = FALSE,
  thresh = NULL
)

Arguments

scHOT

a scHOT object

hubnode

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

network

is an igraph network

weight

A string indicates the column name stored in scHOT_output slot that are used as the weights of the network

subset

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

thresh

is the subset weight threshold

Value

igraph object containing the network graphed. Produces an igraph plot


shazanfar/scHOT documentation built on June 29, 2023, 5:29 p.m.