multiple.network.plot: Plots networks for multiple conditions

Description Usage Arguments Value Examples

View source: R/multiple_network_plot.R

Description

The function takes multiple network objects and plots them next to each other while keeping the element positions etc constant. Uses igraph.plot function

Usage

1
multiple.network.plot(netfacs.graphs)

Arguments

netfacs.graphs

list of network objects resulting from netfacs.network() function or multiple.netfacs.networks() function

Value

Function returns a igraph.plot connections between nodes in the different networks. Elements that are significantly more likely to occur than expected are large, non-significant elements are small, and absent elements are absent.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(emotions_set)
emo.faces <- multiple.netfacs(
  data = emotions_set[[1]],
  condition = emotions_set[[2]]$emotion,
  duration = NULL,
  ran.trials = 10, # only for example
  control = NULL,
  random.level = NULL,
  combination.size = 2
)

emo.nets <- multiple.netfacs.network(emo.faces, min.count = 5)
multiple.network.plot(emo.nets)

AlexMielke1988/NetFACS documentation built on Oct. 27, 2020, 4:14 p.m.