# 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")
M2adl_( g1 )
## Sparse and dense adjacency matrices converted to cliques
M2ugl_( g1 )
## Sparse and dense adjacency matrices converted to cliques
M2dagl_( g1 )
## M2adl_( g2 ) ## FIXME FAILS for sparse matrix
## M2ugl_( g2 ) ## FIXME Is there an issue here??
## M2dagList( g2 ) ## Fails for sparse matrix
# }
Run the code above in your browser using DataLab