Description Usage Arguments Details Value

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

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

`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 |

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).

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.