weight_edges: Weight edges of a graph based on mean time of each edge.

Description Usage Arguments Value

View source: R/graph-funcs.R

Description

Weight edges of a graph based on mean time of each edge.

Usage

1
weight_edges(f_sim_map, f_graph, f_time)

Arguments

f_sim_map

TDAmapper object

f_graph

igraph object, out put from graph.adjacency

f_time

Data frame of the original data but with only two columns: ID and val (time)

Value

An igraph object of the modified f_graph.


covidclinical/Phase2.1TDAPseudotimeRPackage documentation built on Sept. 27, 2020, 12:03 a.m.