Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Expected object or value
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 212, in _generate_tables
                  pa_table = paj.read_json(
                             ^^^^^^^^^^^^^^
                File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: JSON parse error: Column() changed from object to string in row 0
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 226, in _generate_tables
                  batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 91, in json_encode_fields_in_json_lines
                  examples = [ujson_loads(line) for line in original_batch.splitlines()]
                              ^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/json.py", line 20, in ujson_loads
                  return pd.io.json.ujson_loads(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

scRegNet Data & Results

Processed data and results for scRegNet: perturbation-calibrated gene representations for context-specific gene regulatory network inference in glioblastoma.

Code: github.com/mmTheBest/scRegNet

Contents

Processed Data (data/processed/)

File Description Size
gene_universe.json G* gene universe (18,716 genes) 252 KB
hgfb_raw.npz H-GFB features (18,716 × 1,152) 83 MB
microglia_labels.npz Microglia perturbation labels (38 regulators) 800 KB
k562_labels.npz K562 perturbation labels (9,611 regulators) 19 MB
embeddings/*.npz 6 embedding sources (18,716 × 256 each) 116 MB
atlas/celltype_means.npz Cell-type mean expression (11 types) 784 KB
atlas/neftel_subtypes.npz Neftel subtype means (6 subtypes) 3.2 MB
validation/*.json ChIP-Atlas, DoRothEA, TRRUST, canonical TFs 9 MB
validation/depmap_ceres.npz DepMap CERES scores (50 GBM lines)
validation/msigdb_genesets.json MSigDB gene sets (7,540 sets)

Results (results/)

Directory Description
stage_b/ Stage B model outputs (6 embeddings + 3 controls)
stage_c/ Stage C GRN predictions (6 sources × 17 contexts, parquet)
competing/ 8 competing method outputs
experiments/exp_1-9/ All 9 experiment results (JSON)
figures/ 7 main + 6 extended figures (PDF + PNG)

Not Included (Regeneratable)

  • Raw count matrices (data/processed/stage_c/, 4.3 GB) — regenerate from GEO GSE274546
  • Per-cell expression matrices (data/processed/atlas/celltype_expr/, 1.8 GB) — regenerate via 05a_prepare_atlas.py

Usage

from huggingface_hub import snapshot_download

# Download everything
snapshot_download("mm1109/scRegNet", repo_type="dataset", local_dir="./scRegNet-data")

# Load embeddings
import numpy as np
data = np.load("scRegNet-data/data/processed/embeddings/geneformer.npz")
embeddings = data["embeddings"]  # (18716, 256)
genes = data["genes"]            # (18716,)

# Load GRN predictions
import pandas as pd
grn = pd.read_parquet("scRegNet-data/results/stage_c/geneformer.parquet")

License

MIT

Downloads last month
5,872