View source: R/plotting_functions.R
get_heat_colors | R Documentation |
Given a set of meshes, color function, and importance values, number of cuts to reconstruct on,the function finds the birth times of all the vertices and finds vertex colors using the color function provided.
get_heat_colors(dir_name, cuts, pset, comp, colfunc)
dir_name |
(string): The input directory containing the meshes to loop over |
cuts |
(int): How many steps to reconstruct when descending the importance values. A higher cut = more fine granularity on the birth times. |
pset |
(list): A list containing the metadata about the analyses (directions, number of sub level sets, directions per cone) |
comp |
(list): A list of elements containing metadata about the variable selection (primarily variable importances) |
colfunc |
(function): The function for the color gradients. |
mesh_list (list) A list containing the colors of the meshes derived from the iterative reconstruction procedure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.