plotEgoNetwork: plotEgoNetwork

Description Usage Arguments Value

Description

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

Usage

1
2
3
4
5
6
7
8
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


scHOT documentation built on Nov. 8, 2020, 5:06 p.m.