get_heat_colors: Reconstructs and finds vertex colors for a set of meshes.

View source: R/plotting_functions.R

get_heat_colorsR Documentation

Reconstructs and finds vertex colors for a set of meshes.

Description

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.

Usage

get_heat_colors(dir_name, cuts, pset, comp, colfunc)

Arguments

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.

Value

mesh_list (list) A list containing the colors of the meshes derived from the iterative reconstruction procedure.


lcrawlab/SINATRA documentation built on Sept. 13, 2023, 2 p.m.