set_layout_graph | R Documentation |
Determines cell hierarchy layout and returns the X, Y coordinate of each cell population.
set_layout_graph(gr, layout_fun = "layout.reingold.tilford")
gr |
A list containing data frames |
layout_fun |
A string of a function from the |
A list containing data frames e
and v
; each data frame
contains an X, Y column or coordinate for each node and edge.
no_cores <- 1
data(fg_data_pos30)
fg <- flowGraph(fg_data_pos30$count, class=fg_data_pos30$meta$class,
prop=FALSE, specenr=FALSE,
no_cores=no_cores)
head(set_layout_graph(fg_get_graph(fg)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.