Learn R Programming

admixturegraph (version 1.0.2)

is_descendant_of: Is descendant of.

Description

Tells whether a given node is descendant of another given node in a graph.

Usage

is_descendant_of(graph, offspring, ancestor)

Arguments

graph
A graph.
offspring
Potential offspring.
ancestor
Potential ancestor.

Value

A truth value.