getParents {SEMID}R Documentation

Get getParents of nodes in a graph.

Description

Get the getParents of a collection of nodes in a graph g, the getParents DO include the input nodes themselves.

Usage

getParents(g, nodes)

Arguments

g

the graph (as an igraph).

nodes

the nodes in the graph of which to get the getParents.

Value

a sorted vector of all parent nodes.


[Package SEMID version 0.4.1 Index]