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 |
library(bedrockbio)
lf <- load_table("hgnc.family_hierarchy_closure")
df <- head(lf, 5) |> collect()
head(df)Sample output (5 rows, showing 3 of 4 columns) parent_family_id | child_family_id | distance ---------------- | --------------- | -------- 0 10 | 10 | 0 1 100 | 100 | 0 2 1000 | 1000 | 0 3 1001 | 1001 | 0 4 1002 | 1002 | 0
Description
Section titled “Description”Precomputed transitive closure of HGNC gene-family hierarchy relationships.
Partitions
Section titled “Partitions”Not partitioned.
Schema
Section titled “Schema”| 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. |