Skip to content

Computation of PCA and neighbors is now part of thecs module#153

Open
MeyerBender wants to merge 1 commit into
mainfrom
ux/norm_in_cs_functions
Open

Computation of PCA and neighbors is now part of thecs module#153
MeyerBender wants to merge 1 commit into
mainfrom
ux/norm_in_cs_functions

Conversation

@MeyerBender
Copy link
Copy Markdown
Collaborator

Previously, in the cs module, users had to run normalization, log-transform, computation of PCA and of neighbors like this:

# normalizing and log-transforming the counts
sc.pp.normalize_total(adata)
sc.pp.log1p(adata)
# computing a PCA and neighbors
sc.pp.pca(adata)
sc.pp.neighbors(adata)

Now this is directly part of the cluster_connectedness() and silhouette_score() methods.

@MeyerBender
Copy link
Copy Markdown
Collaborator Author

MeyerBender commented May 26, 2026

Addresses point 1 of #147, still need to update docs after all of these things have been implemented.

@MeyerBender MeyerBender requested review from LazDaria and mjemons and removed request for mjemons May 26, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant