Skip to content

hgnc.family_hierarchy_closure

import bedrock_bio as bb

rel = bb.load_table('hgnc.family_hierarchy_closure')

df = rel.limit(5).pl()  # Polars
df = rel.limit(5).df()  # Pandas
df.head()
sources parent_family_id child_family_id distance
0 [{'url': 'https://storage.googleapis.com/publi... 10 10 0
1 [{'url': 'https://storage.googleapis.com/publi... 100 100 0
2 [{'url': 'https://storage.googleapis.com/publi... 1000 1000 0
3 [{'url': 'https://storage.googleapis.com/publi... 1001 1001 0
4 [{'url': 'https://storage.googleapis.com/publi... 1002 1002 0

Precomputed transitive closure of HGNC gene-family hierarchy relationships.

Not partitioned.

Column Type Description
sources STRUCT(url TEXT, filename TEXT, last_modified_at TIMESTAMPTZ, sha256 TEXT)[] Provenance for the HGNC gene-family hierarchy_closure.csv file.
parent_family_id TEXT HGNC gene-family identifier for the ancestor family.
child_family_id TEXT HGNC gene-family identifier for the descendant family.
distance BIGINT Number of hierarchy edges from the ancestor to the descendant; zero denotes the same family.