scanpy.pp.PcaResult.loadings#

PcaResult.loadings#

The principal components containing the loadings, shape (n_vars, n_comps).

If mask was used, rows of variables not selected by it are zero. If use is an .obsm array, its shape is (n_columns, n_comps) instead, and it isn’t written to .varm by default.