to_dot {CIMICE} | R Documentation |
Represents this graph in dot format (a textual output format)
to_dot(g, W, labels)
g |
graph to be drawn |
W |
weights on edges |
labels |
node labels |
a string representing the graph in dot format
require(dplyr) require(purrr) preproc <- example_dataset() %>% dataset_preprocessing samples <- preproc[["samples"]] freqs <- preproc[["freqs"]] labels <- preproc[["labels"]] genes <- preproc[["genes"]] g <- graph_non_transitive_subset_topology(samples, labels) W <- compute_weights_default(g, freqs) to_dot(g,W,labels)