Visualize a point matchings. Points and lines between the matched points are drawn in order to visualize the assignment.
visualizePointMatching(x, y, point.matching, highlight.longest = 0L)
| x | [Network | matrix] |
|---|---|
| y | [Network | matrix] |
| point.matching | [ |
| highlight.longest | [ |
[ggplot]
# point matching on networks x = generateRandomNetwork(n.points = 20L, upper = 100) y = generateClusteredNetwork(n.points = 20L, n.cluster = 2L, upper = 100) if (FALSE) { pm = getOptimalPointMatching(x$coordinates, y$coordinates) print(visualizePointMatching(x, y, pm, highlight.longest = 2L)) } # point matching on point clouds x = matrix(runif(20L), 2L) y = matrix(runif(20L), 2L) if (FALSE) { pm = getOptimalPointMatching(x, y) print(visualizePointMatching(x, y, pm)) }