disentangle {RPointCloud} | R Documentation |
Disentangling Rips Diagrams From Their Initial Data Coordinates
Description
The ripsDiag
function in the TDA
package produces
very different results depending on whether you invoke it on a data
matrix (expressed in terms of specific data coordinates) or a distance
matrix (expressed as abstract indices). This function converts the
specific coordinates into indices, allowing one to more easily plot
different views of the data structures.
Usage
disentangle(rips, dataset)
Arguments
rips |
A Rips |
dataset |
The original dataset used to create the |
Details
The core algorithm is, quite simply, to recombine the coordinates of a point in the Rips diagram in a manner consistent with their storage in the original data set, and find the index (i.e., row number) of that point.
Value
Returns a Rips diagram nearly identical to the one that would be
produced if the ripsDiag
function had been invoked instead on
the Euclidean distance matrix.
Author(s)
Kevin R. Coombes <krc@silicovore.com>
Examples
data(cytof)
fixed <- disentangle(Arip, AML10.node287)