Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic how-to #49

Open
Travis-Barton opened this issue Oct 21, 2022 · 3 comments
Open

basic how-to #49

Travis-Barton opened this issue Oct 21, 2022 · 3 comments

Comments

@Travis-Barton
Copy link

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.

@laurendelong21
Copy link

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

@dhimmel
Copy link
Member

dhimmel commented Jun 26, 2023

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

@laurendelong21
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants