%p% {xpose.xtras}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


[Package xpose.xtras version 0.0.2 Index]