to_dot {CIMICE}R Documentation

Dot graph output

Description

Represents this graph in dot format (a textual output format)

Usage

to_dot(g, W, labels)

Arguments

g

graph to be drawn

W

weights on edges

labels

node labels

Value

a string representing the graph in dot format

Examples

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)


[Package CIMICE version 1.0.0 Index]