run_mapper {mappeR} | R Documentation |
Construct mapper graph from data
run_mapper(binclust_data, dists, binning = TRUE)
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 |
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.