celldisect.CellDISECT.get_perturbation_embeddings

CellDISECT.get_perturbation_embeddings() Tuple[List[str], numpy.ndarray][source]

Return current perturbation names and their (combined) embeddings.

Returns:

  • names – Ordered list of perturbation category names.

  • embeddings – Numpy array of shape (n_perturbations, emb_dim).