removes a series of arcs from a gn object

Share:

Description

Removing the arcs associated to a subset of nodes, but keeping the nodes (contrary to rmnd4gn)

Usage

1
rmar4gn(gn, ion)

Arguments

gn

object gn defining the pruned graph

ion

vector of nodes the arc of which must be be removed, either the names or the internal identification.

Value

The reduced object gn

Examples

1
2
3
4
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 uu <- g4n.gn1;
 print(uu@arc);
 print(rmar4gn(uu, "A")@arc);

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.