Dataset Viewer
Auto-converted to Parquet Duplicate
sample_idx
stringlengths
5
27
cell_sentence_1
stringlengths
5
27
cell_sentence_2
stringlengths
25.4k
25.8k
adata_link
stringclasses
1 value
D101_43
D101_43
PPY MALAT1 GNAS PEG10 TTR FTL FTH1 PAX6 CPE SCG5 GCG CLU FOS C10orf10 NEUROD1 TM4SF4 CHGB PCSK2 PCSK1N CPB1 SCGN SST ALDH1A1 ID2 INSM1 MT1X REG1A TMSB4X SERTM1 SEC11C ARX GC PAM SCG2 ACTG1 CHGA RASD1 TIMP1 AQP3 CALY EGR1 JUN MAP1B MT1E ISL1 PTPRN2 SAT1 SCD SLC22A17 TMEM176A ZFP36 CAMK2N1 CD59 CTRB2 CTSB FGD4 FN1 H1FX Q...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D101_93
D101_93
PPY MALAT1 FTL GNAS CPE CHGB FTH1 CHGA PCSK2 PAM SCG5 SEC11C TM4SF4 TTR AQP3 CLU GCG PCSK1N S100A6 SCG2 ACTG1 REG1A SCGN ALDH1A1 GSTP1 PEG10 EGR1 FOS INSM1 JUN PTPRN2 TCTN1 TMSB4X ACTB C16orf45 GRASP IER2 JUNB KCNMB2 KRT18 LYZ MAN1A1 PAX6 QPCT REG1B SCGB2A1 SDCBP SYT7 TMEM176B ZNF395 AKR1B1 AP3B1 ATP2A3 BTG2 CD59 CTSB ...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All1_18
D17All1_18
PPY MALAT1 FTL TTR GNAS ACTG1 FTH1 SCG2 CHGB CPE PAX6 TM4SF4 RGS4 ACTB PEG10 SCG5 PAM MAP1B PCSK2 ABCC8 ALDH1A1 GCG SCGN TUBA1A CLU MEIS2 EGR1 ETV1 FOS AQP3 CDKN1C CRIP2 HIST1H4C INSM1 APOBEC2 ASAH1 CAMK2N1 CARTPT FABP5 GRASP HSPB1 NEAT1 NEUROD1 RAP1GAP2 REG3A SELM SERPINA1 C15orf48 CCNL2 CDK5R1 CHGA CNTN1 DPYSL3 FAM15...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All1_72
D17All1_72
PPY MALAT1 TTR CPE GNAS CHGB VGF TMSB4X CHGA PEG10 SCG5 FTL PAM SQSTM1 FTH1 PDK4 GCG PCSK1N ATF4 DNAJC12 HIST1H4C SEC11C SAT1 CD59 IRS2 PCSK1 ETV1 AQP3 PPP1R15A PTPRN UCHL1 SYT4 SLC7A2 SST STMN2 ACTB CLU FOS GNG4 NFKBIA SCG2 TIMP1 BTG1 MAP1B CTSB GAD2 ITGB1 LYZ SLC2A13 H1FX IGFBP7 INS NAMPT RAB3B REG1A S100A10 ATP1A1 C...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All2_14
D17All2_14
PPY MALAT1 FTL CHGB TTR FTH1 CPE GNAS PAX6 SCG5 SCG2 ACTG1 PDK4 TM4SF4 GCG SEC11C ALDH1A1 SQSTM1 PAM CLU AQP3 TUBA1A XBP1 FOS ACTB PCSK2 TUBA1B ABCC8 ETV1 RAB3B TIMP1 CHGA INS NEAT1 S100A6 SCGN SST CD59 PCSK1 RGS4 GCH1 ID4 PCSK1N PTPRN QDPR UCHL1 APOBEC2 CTSB PTPRN2 QPCT C10orf10 CRYBA2 GPX3 INHBA ITGB1 TMBIM1 ABCC9 AS...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All2_46
D17All2_46
PPY MALAT1 GNAS CPE TTR SCG5 ABCC8 FTL ACTG1 FTH1 PAM GCG PCSK2 CLU CHGB FAM159B PCSK1N CD59 EGR1 SST GAD2 FOS SEC11C ACTB BTG2 ID2 PAX6 TIMP1 TUBA1A ID1 SCG2 TM4SF4 CHGA INS MLXIPL RASD1 SCD DUSP1 ETV1 HNRNPH1 ISL1 PEG10 SLC30A8 ALDH1A1 SCGN SELM SLC7A2 TSC22D1 TSPAN7 ARX ATP2A3 BHLHE41 C10orf10 CACNA1H CAMK2N1 FBLIM1...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All2_85
D17All2_85
PPY MALAT1 GNAS CPE CHGB FTH1 TTR NEAT1 GCG FTL SCG5 TUBA1A ACTG1 PAM ID2 TMSB4X SCG2 AQP3 NEUROD1 EGR1 INSM1 MT2A PAX6 PCSK1N ALDH1A1 ID1 SEC11C FOS ACTB INS MLXIPL RAP1GAP2 TM4SF4 TUBA1B BTG2 C10orf10 CLU ENPP2 HSP90B1 PTPRN RGS16 S100A6 SCGN SST ABCC8 CDKN1A CHGA FXYD2 GAD2 HSPA1A ITGB1 MEIS2 PCSK1 PCSK2 PEG10 QDPR ...
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D17All2_92
D17All2_92
"PPY TTR MALAT1 GNAS CPE C10orf10 FTL CHGB SCG5 FOS FTH1 ABCC8 PAM SEC11C TMSB4X ACTG1 TUBA1A NEUROD(...TRUNCATED)
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D73_20
D73_20
"MALAT1 TTR PPY GNAS CHGB SCG2 SERPINA1 EGR1 FOS PEG10 CPE PCSK2 ABCC8 ID2 RASD1 BTG2 FTL TM4SF4 GCG(...TRUNCATED)
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
D28-1_76
D28-1_76
"MALAT1 PPY GNAS SST GCG AQP3 TTR PAX6 BTG2 ACTG1 CPE PCSK2 EGR1 SCG2 REG3A ISL1 REG1A REG1B PDK4 SC(...TRUNCATED)
https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content
End of preview. Expand in Data Studio

Description

This dataset contains a representation of RNA sequencing data and text descriptions. Dataset type: single (suitable for relevant contrastive-learning or inference tasks).

Cell Sentence Length: The cell sentences in this dataset have a length of $cs_length genes.

The RNA sequencing data used for training was originally gathered and annotated in the CellWhisperer project. It is derived from CellxGene and GEO. Detailed information on the gathering and annotation of the data can be read in the CellWhisperer Manuscript.

Example Data Row

The dataset contains the following column structure (example from the first row):

  sample_idx: D101_43
  cell_sentence_1: D101_43
  cell_sentence_2: PPY MALAT1 GNAS PEG10 TTR FTL FTH1 PAX6 CPE SCG5 GCG CLU FOS C10orf10 NEUROD1 TM4SF4 CHGB PCSK2 PCSK1N CPB1 SCGN SST ALDH1A1 ID2 INSM1 MT1X REG1A TMSB...
  adata_link: https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content

The processed .h5ad files used to create this dataset are stored remotely. An example file can be accessed here: https://zenodo.org/api/records/17715396/draft/files/all_chunk_0.zarr.zip/content

The AnnData Objects were processed and converted into a Hugging Face dataset using the adata_hf_datasets Python package. The dataset can be used to train a multimodal model, aligning transcriptome and text modalities with the sentence-transformers framework. See mmcontext for examples on how to train such a model.

The anndata objects are stored on nextcloud and a sharelink is provided as part of the dataset to download them. These anndata objects contain intial embeddings generated like this: Each AnnData contained the following embedding keys: ['X_pca', 'X_scvi_fm', 'X_geneformer', 'X_gs10k', 'X_geneformer-v1', 'X_cw-geneformer']. These initial embeddings are used as inputs for downstream model training / inference.

Source

  • Original Data: CZ CELLxGENE Discover: A single-cell data platform for scalable exploration, analysis and modeling of aggregated data CZI Single-Cell Biology, et al. bioRxiv 2023.10.30 Publication

    GEO Database: Edgar R, Domrachev M, Lash AE. Gene Expression Omnibus: NCBI gene expression and hybridization array data repository Nucleic Acids Res. 2002 Jan 1;30(1):207-10

  • Annotated Data: Cell Whisperer: Multimodal learning of transcriptomes and text enables interactive single-cell RNA-seq data exploration with natural-language chats Moritz Schaefer, Peter Peneder, Daniel Malzl, Mihaela Peycheva, Jake Burton, Anna Hakobyan, Varun Sharma, Thomas Krausgruber, Jörg Menche, Eleni M. Tomazou, Christoph Bock Publication Annotated Data: CellWhisperer website

  • Embedding Methods: scVI: Lopez, R., Regier, J., Cole, M.B. et al. Deep generative modeling for single-cell transcriptomics. Nat Methods 15, 1053–1058 (2018). https://doi.org/10.1038/s41592-018-0229-2 geneformer: Theodoris, C.V., Xiao, L., Chopra, A. et al. Transfer learning enables predictions in network biology. Nature 618, 616–624 (2023). Publication

  • Further important packages anndata: Isaac Virshup, Sergei Rybakov, Fabian J. Theis, Philipp Angerer, F. Alexander Wolf. anndata: Annotated data. bioRxiv 2021.12.16.473007 Publication scnapy: Wolf, F., Angerer, P. & Theis, F. SCANPY: large-scale single-cell gene expression data analysis. Genome Biol 19, 15 (2018). Publication

Usage

To use this dataset in Python:

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("jo-mengr/human_pancreas_luecken_single_no_caption_v3")

Understanding the Data Structure

  • sample_idx: This column maps to the adata.obs.index of the original AnnData objects
  • Chunking: Larger datasets were chunked, so each AnnData object contains only a subset of the indices from the complete dataset
  • Share Links: Each row contains a share_link that can be used with requests to download the corresponding AnnData object

Loading AnnData Objects

The share links in the dataset can be used to download the corresponding AnnData objects:

import requests
import anndata as ad

# Get the share link from a dataset row
row = dataset["train"][0]  # First row as example
share_link = row["share_link"]
sample_idx = row["sample_idx"]

# Download and load the AnnData object
response = requests.get(share_link)
if response.status_code == 200:
    with open("adata.h5ad", "wb") as f:
        f.write(response.content)
    adata = ad.read_h5ad("adata.h5ad")

    # The sample_idx corresponds to adata.obs.index
    sample_data = adata[adata.obs.index == sample_idx]
    print(f"Found sample: {sample_data.shape}")
else:
    print("Failed to download AnnData object")
Downloads last month
7