htr: Get all HTR nodes from a set of nodes in a graph.

Description Usage Arguments Value

View source: R/graphID.R

Description

Gets all vertices in a graph that are half-trek reachable from a set of nodes. WARNING: Often the half-trek reachable nodes from a vertex v are defined to not include the vertex v or its siblings. We DO NOT follow this convention, the returned set will include input nodes and their siblings.

Usage

1
htr(dG, bG, nodes)

Arguments

dG

a directed graph representing the directed part of the mixed graph.

bG

an undirected graph representing the undirected part of the mixed graph.

nodes

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

Value

a sorted list of all half-trek reachable nodes.


SEMID documentation built on May 19, 2017, 11:41 p.m.

Search within the SEMID package
Search all R packages, documentation and source code