scmorph.pl.ridge_plot#
- scmorph.pl.ridge_plot(adata, x, y, layer='X', n_col=1, show=True, **kwargs)[source]#
Plot features as ridge plot.
Helps to distinguish the distribution of a feature across different categories, such as plates.
- Parameters:
- adata
AnnData Annotated data matrix.
- x
str Name of column containing feature values.
- y
str Name of column containing category values.
- layer
str(default:'X') Where to find values for the variable. Useful if you want to plot “pca” or “umap” values.
- n_col
int(default:1) How many columns to plot over.
- show default:
True Whether to show the plot.
- kwargs
Any Other arguments passed to seaborn.FacetGrid.
- adata
- Return type:
- Returns:
A ridge plot with categories split out and colored by.