# NOT RUN {
## Sparse and dense adjacency matrices converted to adjacency list
g1 <- ug(~a:b + b:c + c:d, result="matrix")
g2 <- ug(~a:b + b:c + c:d, result="dgCMatrix")
g_M2adl_( g1 )
## Sparse and dense adjacency matrices converted to cliques
g_M2ugl_( g1 )
## Sparse and dense adjacency matrices converted to cliques
g_M2dagl_( g1 )
## g_M2adl_( g2 ) ## FIXME FAILS for sparse matrix
## g_M2ugl_( g2 ) ## FIXME Is there an issue here??
## g_M2dagList( g2 ) ## Fails for sparse matrix
# }
Run the code above in your browser using DataLab