scmorph.pl.cumulative_density#
- scmorph.pl.cumulative_density(adata, x, layer='X', color=None, n_col=3, xlim=None, xlabel=None, show=True, **kwargs)[source]#
Plot cumulative densities of variables in AnnData
- Parameters:
- adata
AnnData AnnData object
- x
int|str|list[int|str] Name or index of variable(s) to plot
- layer
str(default:'X') Where to find values for the variable. Useful if you want to plot “pca” or “umap” values.
- color
str|None(default:None) Variable in “obs” to color by
- n_col
int(default:3) Number of columns to facet by
- xlim
tuple[float,float] |None(default:None) Limits of x-axis
- xlabel
str|None(default:None) Label for x-axis
- show
bool(default:True) Show the plot
- kwargs
Any Other arguments passed to
FacetGrid
- adata
- Return type:
- Returns:
Plots of cumulative densities of variables in AnnData