Skip to contents

Take a dataframe of parent child relationships and create a node network that can be queried for relationships between them. Also returns a table of orphans missing parents as these break the network

Usage

fromDFtoNetwork(x)

Arguments

x

Dataframe from updateHierarchies()

Value

a list with two elements

  • a Node class network object describing the hierarchy of lineages

  • a table of so-called orphan lineages that call on non-existent parents