assemble_mapper_object: Construct mapper graph from data

View source: R/cartography_chamber.R

assemble_mapper_objectR Documentation

Construct mapper graph from data

Description

Construct mapper graph from data

Usage

assemble_mapper_object(binclust_data, dists, binning = TRUE)

Arguments

binclust_data

A list of bins, each containing named vectors whose names are those of data points and whose values are cluster ids

dists

A distance matrix for the data that has been binned and clustered.

binning

Whether the output dataframe should sort vertices into "bins" or not. Should be true if using clustering, leave false otherwise

Value

A list of two dataframes, one with node data containing bin membership, datapoints per cluster, and cluster dispersion, and one with edge data containing sources, targets, and weights representing overlap strength.


mappeR documentation built on April 3, 2025, 6:19 p.m.