fg_get_graph: Retrieves a graph list from a given flowGraph object.

View source: R/01_flowgraph_accessors.R

fg_get_graphR 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)


aya49/flowGraph documentation built on Feb. 4, 2024, 6:40 p.m.