phlower.pl.plot_eigen_line
- phlower.pl.plot_eigen_line(adata: AnnData, evalue_name=None, n_eig=10, step_size=1, show_legend=True, ax=None, **args)
plot eigen values line to check the elbow of them
parameters
- adata: AnnData
an Annodata object
- evalue_name: str
eigen values of stored in adata.uns get from graph_basis if None
- n_eig: int
number of eigen values to plot
- step_size: int
ticks for the plotting
- show_legend: bool
whether to show legend, default is True
- ax: matplotlib axis
axis to plot, default is None