Igraph: Convert an RCX object from and to an igraph object

Description Usage Arguments Value See Also Examples

Description

Convert an RCX object to an igraph object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
toIgraph(rcx, directed = FALSE)

fromIgraph(
  ig,
  nodeId = "id",
  nodeName = "nodeName",
  nodeIgnore = c("name"),
  edgeId = "id",
  edgeIgnore = c("name"),
  suppressWarning = F
)

Arguments

rcx

RCX object

directed

logical; whether the graph is directed

ig

igraph object

nodeId

character; igraph attribute name used for node ids

nodeName

character; igraph attribute name used for node names

nodeIgnore

character; igraph attribute names that should be ignored

edgeId

character; igraph attribute name used for edge ids

edgeIgnore

character; igraph attribute names that should be ignored

suppressWarning

logical; whether to suppress a warning message, if the validation of the RCX object fails

Value

igraph or RCX object

See Also

toCX, rcxToJson, readCX, writeCX

Examples

1

frankkramer-lab/RCX documentation built on July 14, 2021, 6:33 p.m.