powered by
A helper function to make an adjacency list corresponding to a null graph (no edges)
make_null_graph(nodes)
An adjacency list the null graph with no edges
A character vector containing the nodes to be used in the graph
d <- derma[, 5:8] ng <- make_null_graph(colnames(d))
Run the code above in your browser using DataLab