scanpy.pl.pca_loadings

scanpy.pl.pca_loadings(adata, components=None, show=None, save=None)

Rank genes according to contributions to PCs.

Parameters
adata : AnnData

Annotated data matrix.

components : str or list of integers, optional

For example, '1,2,3' means [1, 2, 3], first, second, third principal component.

show : bool, optional (default: None)

Show the plot, do not return axis.

save : bool or str, optional (default: None)

If True or a str, save the figure. A string is appended to the default filename. Infer the filetype if ending on {‘.pdf’, ‘.png’, ‘.svg’}.