Closed LucaZanella15 closed 1 month ago
The default behavior of pyviper.tl.pca seems to be different than that of sc.tl.pca. The latter automatically returns the PCA information under the .uns slot, while pyviper returns it when setting copy=False, e.g.:
.uns
sc.tl.pca(adata, svd_solver="arpack")
pyviper.tl.pca(adata, svd_solver="arpack", copy=False)
Should copy=False be set as the default in pyviper.tl.pca for consistency with Scanpy?
The default behavior of pyviper.tl.pca seems to be different than that of sc.tl.pca. The latter automatically returns the PCA information under the
.uns
slot, while pyviper returns it when setting copy=False, e.g.:sc.tl.pca(adata, svd_solver="arpack")
pyviper.tl.pca(adata, svd_solver="arpack", copy=False)
Should copy=False be set as the default in pyviper.tl.pca for consistency with Scanpy?