perturbseq.pp.subsample_cells

perturbseq.pp.subsample_cells(adata, num_cells, grouping_variable)