perturbseq
latest
API
Preprocessing:
pp
perturbseq.pp.compute_TPT
perturbseq.pp.get_perturbations
perturbseq.pp.perturb_overlap_obs
perturbseq.pp.annotate_controls
perturbseq.pp.subset_singly_perturbed
perturbseq.pp.perturbs_per_cell
perturbseq.pp.cells_per_perturb
perturbseq.pp.delete_guides_from_varnames
perturbseq.pp.subsample_cells
perturbseq.pp.downsample_counts
perturbseq.pp.obs_mean
perturbseq.pp.score_programs
perturbseq.pp.obs_to_design_matrix
perturbseq.pp.split_train_valid_test
Tools:
tl
perturbseq
»
API
»
perturbseq.pp.subsample_cells
Edit on GitHub
perturbseq.pp.subsample_cells
¶
perturbseq.pp.
subsample_cells
(
adata_here
,
num_cells
,
grouping_variable
,
rng=RandomState(MT19937) at 0x7F966DB3A160
)
¶
Subsample cells/perturbation