An edge is differential when it is present in exactly one of the two
graphs (exclusive or). For differential edges defined by the size of the
change instead, use threshold_to_adjacency(theta1 - theta2,
threshold).
Usage
diff_adjacency(adj1, adj2)
Arguments
adj1, adj2
Square matrices of the same dimensions; non-zero entries
are edges.
Value
An integer 0/1 matrix with zero diagonal and the dimnames of
adj1. Missing entries stay NA.