Convert a signed graph to a signed adjacency matrixSource:
This function returns the adjacency matrix for a signed graph
igraph object. Must have a "sign" edge attribute.
Logical scalar, whether to return the result as a sparse matrix. The Matrix package is required for sparse matrices.