Comments (3)
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).
from hetnetpy.
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
from hetnetpy.
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).
from hetnetpy.
Related Issues (16)
- Automatic abbreviation code and kind_to_abbrev safety checks
- Hetio v0.2.3 breaks integration code HOT 6
- hetio.abbreviation.metaedges_from_metapath breaks for integers HOT 2
- Permuting Specific Genes Option HOT 1
- metaedge_to_adjacency_matrix as a Graph class method? HOT 1
- Package does not install with pip HOT 7
- hetio.permute.permute_pair_list modifies pair_list in place HOT 1
- CC licence isn't recommended for source code HOT 2
- py2neo version 4 doesn't have an httpstream package HOT 2
- Symmetric metapaths are their own inverse
- Py2neo 3 compatibility HOT 6
- Rename this software to hetnetpy HOT 5
- Return numpy ndarrays not matrices HOT 1
- Speeding up the Neo4j import HOT 11
- Use setup.cfg to use README.md for PyPI description HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hetnetpy.