Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 519 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 519 Bytes

sedatasets

sedatasets is a Python package to convert Bioconductor SummarizedExperiment data structure to HuggingFace datasets.

Usage

Command line

python -m sedatasets.cli -h

Python Module

from sedatasets.se_convert import AD2Datasets, SE2Datasets

SE2Datasets(
    efiles={"exp": "tests/data/rse_counts.csv"},
    pfile="tests/data/rse_cdata.csv",
    ffile="tests/data/rse_rdata.csv",
    outdir='/tmp/rse',
)

AD2Datasets("tests/data/adata.h5ad", outdir='/tmp/anndata')