grapes-p-grapes: Binary check if LHS is parent of RHS

%p%R Documentation

Binary check if LHS is parent of RHS

Description

Binary check if LHS is parent of RHS

Usage

possible_parent %p% possible_child

Arguments

possible_parent

<xpose_set_item> object suspected as parent to ...

possible_child

... <xpose_set_item> object suspected child

Value

⁠<logical>⁠ TRUE if LHS is parent of RHS

Examples


# Detect direct parent
pheno_set$run6 %p% pheno_set$run7

# Detect non-parentage (does not try to "flip" parentage)
pheno_set$run6 %p% pheno_set$run5

# Does not detect grand-parentage
pheno_set$run6 %p% pheno_set$run13


xpose.xtras documentation built on Sept. 1, 2026, 5:08 p.m.