phom.dist: Calculate Distance between Homology Matrices

Description Usage Arguments Details Value

View source: R/inference.R

Description

Calculates the distance between two matrices containing persistent homology features, usually as returned by the 'calculate_homology' function.

Usage

1
phom.dist(phom1, phom2, limit.num = 0)

Arguments

phom1

3-by-n numeric matrix containing persistent homology for first dataset

phom2

3-by-n numeric matrix containing persistent homology for second dataset

limit.num

limit comparison to only top 'limit.num' features in each dimension

Details

Note that the absolute value of this measure of distance is not meaningful without a null distribution or at least another value for relative comparison (e.g. finding most similar pair within a triplet).

Value

distance vector (1 element per dimension) between 'phom1' and 'phom2'


TDAstats documentation built on Dec. 16, 2019, 1:36 a.m.