past.Utils.DLPFC_split¶
- past.Utils.DLPFC_split(adata, dataset_key, anno_key, percentage=1.0, dataset_filter=[None])¶
Based on domain annotation and dataset annotation, apply Stratified downsampling to DLPFC dataset
- Parameters:
adata – Whole DLPFC containing 12 sub-datasets of anndata format
dataset_key – Key stored in adata.obs presenting different sub-datasets
anno_key – Key stored in adata.obs presenting domain annotation
percentage – Downsampling percentage
dataset_filter – Sub-datasets to be filtered
- Returns:
Downsampled DLPFC of anndata format
- Return type:
scanpy.anndata