On sign patterns of branch matrices and R-graph realization