plotEgoNetwork | R Documentation |
the plotEgoNetwork function plots network graphs with edges coloured by weights in the network
plotEgoNetwork(
scHOT,
hubnode,
network,
weight = "higherOrderStatistic",
subset = FALSE,
thresh = NULL
)
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 |
igraph
object containing the network graphed.
Produces an igraph plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.