Skip to content

as_diagram function #49

@corybrunson

Description

@corybrunson

It might be valuable to have a coercion/conversion function as_diagram() that could take a persistence object and convert it to the format that {TDA} recognizes. This could serve to prevent problems with the deployment of {TDA} tools on persistence data, or just alleviate concerns.

Since we plan to deprecate the PHom class in {ripserr}, i see no point in implementing as_PHom.persistence(); and most persistence data sets aren't recoverable from hclust()—that is, they aren't in the image of as_persistence.hclust()—so there's no point writing as_hclust.persistence() either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions