Handling BEL¶
- biokeen.convert.to_pykeen_path(df, path)[source]¶
Write the relationships in the BEL graph to a KEEN TSV file.
If you have a BEL graph, first do:
>>> from biokeen.convert import to_pykeen_df, to_pykeen_path >>> graph = ... # Something from PyBEL >>> df = to_pykeen_df(graph) >>> to_pykeen_path(df, 'graph.keen.tsv')
- Return type