write_graphml | R Documentation |
Save and adjacency matrix as returned by full_graph
or
1 - distance_matrix
as a GraphML file.
write_graphml(m, filename, cols)
m |
A symmetric numeric matrix (Adjacency matrix). Rownames are considered as node names. |
filename |
Name of the resulting GraphML file (should end with ".gml"). |
cols |
Node colors. |
0 if successful.
m <- matrix(seq(1:16), nrow=4) # m <- matrix(rnorm(10000), nrow=100) # bics <- c(run_fabia(m), run_isa(m), run_plaid(m)) # bn <- bicluster_network(bics, m) # write_graphml(apply_threshold(bn), "testfile.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.