relpair_conn_comps {CKMRpop} | R Documentation |
Find connected components amongst the related pairs
Description
This is a little utility function that actually gets called from
within compile_related_pairs()
so we leave it as an internal function.
This takes in the tibble Pairs, and then spits out a tibble that looks
just the same, except that after the id_1 and id_2 columns it now has a
column called conn_comp
that gives the connected component index of the
two pair members.
Usage
relpair_conn_comps(Pairs)
Arguments
Pairs |
a tibble with the related pairs. It must have columns id_1 and id_2 |
[Package CKMRpop version 0.1.3 Index]