Description Usage Arguments Value
Make igraph object by calculating adjacency, resizing nodes, weighting edges and color nodes.
1 2 3 4 5 6 | make_graph(
f_sim_map,
f_time,
color_method = "clust_color",
my_colors = c("#00A3DD", "#60C659", "#FFBC21", "#FF7F1E", "#EF2B2D")
)
|
f_sim_map |
TDAmapper object |
f_time |
Dataframe of id and enrichment variable. Default is time (performing time enrichment). However, f_time can contain any other variable. |
color_method |
Character string specifying the coloring method. Can be 'basic', 'clust_shade' or 'clust_color'. |
my_colors |
Character vector of hex values specifying color palette for enrichment. |
igraph object of the graph output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.