get_graph_properties: Get basic properties of graph

Description Usage Arguments Value Examples

View source: R/graph-funcs.R

Description

Get basic properties of graph

Usage

1
get_graph_properties(f_graph, f_sim_map = NULL, simplified = TRUE)

Arguments

f_graph

igraph object, out put from graph.adjacency

f_sim_map

Optional TDAmapper object

simplified

Boolean. If TRUE, return a numeric vectors of basic properties. If FALSE, return a more comprehensive list of properties including maximal connected components and number of elements in each node.

Value

List or numeric vector of different properties including number of graph components, number of nodes, median degree, edge density, etc.

Examples

1
2
3
my_tda <- map_tda(scaled_lab_mat)
my_graph <- make_tda_graph(my_tda, processed_data, 'time')
get_graph_properties(my_graph)

trang1618/tdapseudotime documentation built on Feb. 9, 2021, 6:14 p.m.