gretapy.ds.toy

Contents

gretapy.ds.toy#

gretapy.ds.toy(n_cells=60, seed=42)#

Generate synthetic MuData and GRN for testing and demonstration.

Creates biologically structured test data with RNA and ATAC modalities, along with a gene regulatory network (GRN) DataFrame.

Parameters:
  • n_cells (int (default: 60)) – Number of cells to generate. Default is 60.

  • seed (int (default: 42)) – Random seed for reproducibility. Default is 42.

Return type:

tuple[MuData, DataFrame]

Returns:

tuple[mu.MuData, pd.DataFrame] A tuple containing: - MuData with ‘rna’ and ‘atac’ modalities - GRN DataFrame with columns: source, target, cre, score