Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phate using harmony reduction #149

Open
wiktormiko opened this issue Dec 23, 2024 · 1 comment
Open

Phate using harmony reduction #149

wiktormiko opened this issue Dec 23, 2024 · 1 comment
Labels

Comments

@wiktormiko
Copy link

Hi, I was wondering if I could use Phate with harmony corrected PC's. Is there a way to skip calculating PCA while running PHATE and use pre-computed Harmony embeddings instead?

@nishuang83
Copy link

Yes, you can set n_pca to None and input your precomputed embeddings.

phate_op = phate.PHATE(n_pca=None)
phate_op.fit_transform(your_embeddings)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants