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.obs_to_design_matrix
Edit on GitHub
perturbseq.pp.obs_to_design_matrix
¶
perturbseq.pp.
obs_to_design_matrix
(
adata_here
,
obs_names
,
binarize=True
,
covariate=False
)
¶
Design matrix for linear model from obs