draw_ggraph {CIMICE} | R Documentation |
Draws the output graph using ggplot
draw_ggraph(g, W, labels, digits = 4)
g |
graph to be drawn |
W |
weights on edges |
labels |
node labels |
digits |
precision for edges' weights |
ggraph object representing g as described
require(dplyr) 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) draw_ggraph(g,W,labels,digit = 3)