If two column has more than 1 shared element then they have connection. Convert 0/1 data to connection pairs in long shape table. The 0-connection pairs are removed.

convert_01_to_connect(object)

Arguments

object

data frame with 0/1 data

Value

a data frame with source and target connection information