Plots

Plotting functions

immunopheno.plots.plot_UMAP(IPD: ImmunoPhenoData, normalized: bool = False, **kwargs)

Plots a UMAP of protein expression

Plots a UMAP for the non-normalized protein values or normalized protein values

Parameters:
  • IPD (ImmunoPhenoData) – Object containing protein data, gene data, and cell types

  • normalized (bool) – option to plot normalized values

  • **kwargs – various arguments to UMAP class constructor, including default values: n_neighbors (int): 15 min_dist (float): 0.1 n_components (int): 2 metric (str): “euclidean”

Returns:

UMAP projection of non/normalized protein values with a corresponding legend of cell type (if available)

immunopheno.plots.plot_antibody_correlation(IPD: ImmunoPhenoData)

Plots a correlation heatmap for each antibody in the data

Parameters:

IPD (ImmunoPhenoData Object) – Object containing protein data, gene data, and cell types

Returns:

seaborn clustermap for a heatmap of the antibodies