Description Usage Arguments Value Examples
Make igraph object by calculating adjacency, resizing nodes, weighting edges and color nodes.
1 2 3 4 5 6 7 | make_tda_graph(
f_sim_map,
data,
enrich_var,
color_method = "clust_color",
my_colors = c("#00A3DD", "#60C659", "#FFBC21", "#FF7F1E", "#EF2B2D")
)
|
f_sim_map |
TDAmapper object |
data |
Processe data frame of the original data. |
enrich_var |
Character string of enrichment variable. Any column name of the processed data frame. |
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.
1 2 | my_tda <- map_tda(scaled_lab_mat)
make_tda_graph(my_tda, processed_data, 'time')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.