Function that finds edges that are only present in one subgraph of the CVN model.
Value
A list of adjacency matrix, one for each value of (lambda1, lambda2), showing the edges that are unique for each single subgraph.
Examples
path <- system.file("cvnfit.RData", package = "CVN")
load(path)
ue <- find_unique_edges(fit)
# Graph 3 has unique edges
ue[[1]][[3]]
#> 10 x 10 sparse Matrix of class "dsCMatrix"
#>
#> [1,] . 1 . . . . . . . .
#> [2,] 1 . . . . . . . . .
#> [3,] . . . . . . . . . .
#> [4,] . . . . . . . . . .
#> [5,] . . . . . . . . . .
#> [6,] . . . . . . . . . .
#> [7,] . . . . . . . . . .
#> [8,] . . . . . . . . . .
#> [9,] . . . . . . . . . .
#> [10,] . . . . . . . . . .