several options to calculate the signed degree of vertices
igraph object with a sign edge attribute.
character string, “out” for out-degree, “in” for in-degree or “all” for undirected networks.
character string, “pos” or “neg” for counting positive or negative neighbors only, "ratio" for pos/(pos+neg), or "net" for pos-neg.
centrality scores as numeric vector.