fg_set_layout | R Documentation |
Determines cell hierarchy layout and returns the X, Y coordinate
of each cell population. This function is a wrapper for
set_layout_graph
.
fg_set_layout(fg, layout_fun = "layout.reingold.tilford")
fg |
flowGraph object. |
layout_fun |
A string version of a function name from
the |
Given a flowGraph object, modifies the graph
slot such that
it contains X, Y axes for each node in accordance to a user specified
layout.
flowGraph object with coordinate meta data on cell populations and edges for plotting use.
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)
fg <- fg_set_layout(fg)
head(fg_get_graph(fg)$v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.