color_vertex: Adjust colors of nodes using enrichment function.

Description Usage Arguments Value

View source: R/graph-funcs.R

Description

Adjust colors of nodes using enrichment function.

Usage

1
color_vertex(f_sim_map, f_time, my_colors)

Arguments

f_sim_map

TDAmapper object

f_time

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

my_colors

Character vector of hex values specifying color palette for enrichment.

Value

Data frame of vertex ids and colors.


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