R/PathScore.R

PathScore <- function (path, graph1, graph2, node.score) {
    sum(c(node.score[V(graph1)[path]$name], node.score[V(graph2)[unique(unlist(V(graph1)[path]$clusters))]$name]))
}
leiming8886/fRNC documentation built on Feb. 21, 2023, 4:12 p.m.