MapperAlgo | R Documentation |
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(
filter_values,
intervals,
percent_overlap,
methods,
method_params = list(),
cover_type = "extension",
num_cores = 1
)
filter_values |
A data frame or matrix of the data to be analyzed. |
intervals |
An integer specifying the number of intervals. |
percent_overlap |
Percentage of overlap between consecutive intervals. |
methods |
Specify the clustering method to be used, e.g., "hclust" or "kmeans". |
method_params |
A list of parameters for the clustering method. |
cover_type |
Type of interval, either 'stride' or 'extension'. |
num_cores |
Number of cores to use for parallel computing. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.