Skip to content

scanpy.external.pp.harmony_integrate incompatible with newly updated harmonypy>=0.1.0 #3940

@kiklata

Description

@kiklata

What kind of feature would you like to request?

Additional function parameters / changed functionality / changed defaults?

Please describe your wishes

scanpy.external.pp.harmony_integrate assumes the old harmonypy output format and applies Z_corr.T.
However, since harmonypy>=0.1.0, Z_corr is already returned in cells × PCs format, so the transpose is no longer needed. This leads to shape mismatches or incorrect embeddings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions