ancestor: Compute the ancestor of a gff feature

ancestorR Documentation

Compute the ancestor of a gff feature

Description

Bubble up the feature_id -> parent_id associations until the top-level ID is found. This is the ancestor_id, shared by all associated features.

Usage

ancestor(.data, kid = feature_id, parent = parent_id)

thackl/thacklr documentation built on Oct. 16, 2023, 9:15 p.m.