Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 428 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 428 Bytes

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