lamindb.core.datasets.mudata_papalexi21_subset

lamindb.core.datasets.mudata_papalexi21_subset()

A subsetted mudata from papalexi21.

Return type:

MuData

To reproduce the subsetting:
>>> !wget https://figshare.com/ndownloader/files/36509460
>>> import mudata as md
>>> import scanpy as sc
>>> mdata = md.read_h5mu("36509460")
>>> mdata = sc.pp.subsample(mdata, n_obs=200, copy=True)[0]
>>> mdata[:, -300:].copy().write("papalexi21_subset_200x300_lamindb_demo_2023-07-25.h5mu")