Implements the Mapper algorithm for Topological Data Analysis (TDA). It divides data into intervals, applies clustering within each interval, and constructs a simplicial complex representing the structure of the data.
MapperAlgo(
original_data,
filter_values,
percent_overlap,
methods,
method_params = list(),
cover_type = "extension",
intervals = NULL,
interval_width = NULL,
num_cores = 1
)A list containing the Mapper graph components:
The adjacency matrix of the Mapper graph.
The number of vertices in the Mapper graph.
A vector specifying the level of each vertex.
A list of the indices of the points in each vertex.
A list of the indices of the points in each level set.
A list of the indices of the vertices in each level set.
Original dataframe, not the filter values.
A data frame or matrix of the data to be analyzed.
Percentage of overlap between consecutive intervals.
Specify the clustering method to be used, e.g., "hclust" or "kmeans".
A list of parameters for the clustering method.
Type of interval, either 'stride' or 'extension'.
An integer specifying the number of intervals.
The width of each interval.
Number of cores to use for parallel computing.