fg_get_graph {flowGraph} | R Documentation

## Retrieves a graph list from a given flowGraph object.

### Description

Retrieves a graph list from a given flowGraph object.

### Usage

    fg_get_graph(fg)

### Arguments

`fg` | flowGraph object.

### Value

A list containing two data frames (`v` and ]codee) from the `graph` slot of the given `flowGraph` object containing information on the cell populations phenotype nodes and edges representing relation between cell populations.

### See Also

`flowGraph-class` `fg_plot` `ggdf` `plot_gr`

### Examples

     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)
     gr <- fg_get_graph(fg)
     head(gr$v)
     head(gr$e)

[Package flowGraph version 1.2.0 Index]