UNAGI.perturbations.compounds.get_top_compounds

UNAGI.perturbations.compounds.get_top_compounds(adata, intensity, top_n=None, cutoff=None)[source]

Get top compounds predictions after compound perturbations at a given intensity.

Parameters:
  • adata (AnnData object) – Annotated data matrix.

  • intensity (int) – Pertubration intensity.

  • top_n (int, optional) – Number of top compounds to return. The default is None.

  • cutoff (float, optional) – P-value cutoff. The default is None.