MapperAlgo {MapperAlgo}R Documentation

Mapper Algorithm

Description

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.

Usage

MapperAlgo(
  filter_values,
  intervals,
  percent_overlap,
  methods,
  method_params = list(),
  num_cores = 1
)

Arguments

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

num_cores

Number of cores to use for parallel computing.

Value

A list containing the Mapper graph components:

adjacency

The adjacency matrix of the Mapper graph.

num_vertices

The number of vertices in the Mapper graph.

level_of_vertex

A vector specifying the level of each vertex.

points_in_vertex

A list of the indices of the points in each vertex.

points_in_level_set

A list of the indices of the points in each level set.

vertices_in_level_set

A list of the indices of the vertices in each level set.


[Package MapperAlgo version 1.0.2 Index]