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

%p%R Documentation

Binary check if LHS is parent of LHS

Description

Binary check if LHS is parent of LHS

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 April 4, 2025, 2:13 a.m.