scglue.data.lsi
- scglue.data.lsi(adata, n_components=20, use_highly_variable=None, **kwargs)[source]
LSI analysis (following the Seurat v3 approach)
- Parameters
adata (
AnnData
) – Input datasetn_components (
int
) – Number of dimensions to useuse_highly_variable (
typing.Optional
[bool
]) – Whether to use highly variable features only, stored inadata.var['highly_variable']
. By default uses them if they have been determined beforehand.**kwargs – Additional keyword arguments are passed to
sklearn.utils.extmath.randomized_svd()
- Return type