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]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.