Description Usage Arguments Value
Color nodes of graph given coloring method.
1 2 3 4 5 6 7 | color_graph(
f_sim_map,
f_graph,
f_time,
my_colors,
method = c("basic", "clust_shade", "clust_color")
)
|
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) |
my_colors |
Character vector of hex values specifying color palette for enrichment. |
method |
Character string specifying the coloring method. Can be 'basic', 'clust_shade' or 'clust_color'. |
Modified graph with colors at nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.