Learn R Programming

mappeR (version 2.0.2)

assemble_mapper_object: Construct mapper graph from data

Description

Construct mapper graph from data

Usage

assemble_mapper_object(binclust_data, dists, binning = TRUE)

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.

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