hgnc.family_hierarchy
import bedrock_bio as bb
rel = bb.load_table('hgnc.family_hierarchy')
df = rel.limit(5).pl() # Polars
df = rel.limit(5).df() # Pandas
df.head()| sources | parent_family_id | child_family_id | |
|---|---|---|---|
| 0 | [{'url': 'https://storage.googleapis.com/publi... | 1045 | 1043 |
| 1 | [{'url': 'https://storage.googleapis.com/publi... | 1054 | 646 |
| 2 | [{'url': 'https://storage.googleapis.com/publi... | 1054 | 728 |
| 3 | [{'url': 'https://storage.googleapis.com/publi... | 1054 | 729 |
| 4 | [{'url': 'https://storage.googleapis.com/publi... | 1057 | 1277 |
library(bedrockbio)
lf <- load_table("hgnc.family_hierarchy")
df <- head(lf, 5) |> collect()
head(df)Sample output (5 rows, showing 2 of 3 columns) parent_family_id | child_family_id ---------------- | --------------- 0 1045 | 1043 1 1054 | 646 2 1054 | 728 3 1054 | 729 4 1057 | 1277
Description
Section titled “Description”Direct parent-to-child relationships between HGNC gene families.
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.csv file. |
parent_family_id |
TEXT |
HGNC gene-family identifier for the parent family. |
child_family_id |
TEXT |
HGNC gene-family identifier for the direct child family. |