dfci / oncotreenx

light networkx wrapper around the oncotree data structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oncotreenx

light wrapper networkx wrapper around the oncotree data structure

installing

The library can be installed using pip and the github package path.

pip install git+https://github.com/jim-bo/oncotreenx.git

examples

# import
import oncotreenx

# create graph.
g = oncotreenx.build_oncotree()

# get the ancestor.
p = get_basal(g, "CCHDM")

# make sure it is correct.
assert 'BONE' == p

About

light networkx wrapper around the oncotree data structure

License:MIT License


Languages

Language:Python 100.0%