Return the multilayer motifs. Note that even if inter-links are present, they will be neglected and the network treated as an edge-colored multigraph

GetMultilayerMotifs(
  SupraAdjacencyMatrix,
  Layers,
  Nodes,
  bin.path = NA,
  motifSize = 3,
  motifSamples = 1e+05,
  isDirected = FALSE,
  motifNullModel = "Local const",
  randomNetworks = 1000,
  randomExchangePerEdges = 3,
  randomExchangeAttempts = 3
)

Arguments

SupraAdjacencyMatrix

the supra-adajcency matrix

Layers

scalar, number of layers

Nodes

scalar, number of nodes

bin.path

path, full path where the FANMOD binary executable is located

motifSize

integer, size of motifs to find (3 or 4)

motifSamples

integer, number of samples used to determine approx. # of motifs

isDirected

logical, indicates if the search is for an undirected or directed network

motifNullModel

string, "Local const", "Global const", or "No regard"

randomNetworks

integer, number of random networks

randomExchangePerEdges

integer, number of exchanges per edge

randomExchangeAttempts

integer, number of exchange attempts per edge

Value

Motifs Table