use of edu.ucsf.rbvi.clusterMaker2.internal.algorithms.ranking.units.PREdge in project clusterMaker2 by RBVI.
the class PR method addEdges.
private void addEdges() {
for (CyEdge edge : edgeList) {
PRNode sourceNode = idToNode.get(edge.getSource().getSUID());
PRNode targetNode = idToNode.get(edge.getTarget().getSUID());
PREdge prEdge = new PREdge(edge);
insertEdgeScore(prEdge, edgeTable, edgeAttributes);
graph.addEdge(prEdge, new Pair<>(sourceNode, targetNode), EdgeType.DIRECTED);
}
}
Aggregations