Skip to content

basic how-to #49

Open
Open

Description

@Travis-Barton

Hey all,

Is there a basic how to guide that I'm missing for this work? It looks interesting and I want to use it to explore Hetionet.

Activity

  1. laurendelong21 commented on Jun 26, 2023

    @laurendelong21

    Hi, I was also wondering if there is any how-to documentation for this yet. In particular, I was interested in generating the metapaths for my graph

  2. dhimmel commented on Jun 26, 2023

    @dhimmel
    Member

    Thanks both for the reminder to improve the docs here. A basic how-to or getting started would be a great thing to add. We could also auto-generate docs from the current docstrings. And improve type hints.

    Hi, I was also wondering if there is any how-to documentation for this yet. In particular, I was interested in generating the metapaths for my graph

    @laurendelong21, you will probably want to use either the extract_metapaths or extract_all_metapaths methods of the MetaGraph object. Have you been able to create a metagraph for your graph yet? If not, this test has an example. Or for a bigger example, here's how the metagraph was defined for Hetionet v1.0 (notebook cell 2).

  3. laurendelong21 commented on Jun 28, 2023

    @laurendelong21

    Thanks so much @dhimmel , your suggestions were what I needed for now. I managed to create the metagraph and extract metapaths using the notebook example and the two methods you pointed out. The only thing that really needed changing was the module name (hetio --> hetnetpy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions