Skip to content

Harmony v2.0.3 Fails to Integrate Data Effectively Compared to v1.2.4 #288

Description

@xiao00su

I've encountered an issue where the new version of Harmony (v2.0.3) does not effectively integrate my single-cell data, even when forcing a high number of iterations.

Observed Behavior:
PCA (before integration):​ Shows clear batch separation between E12, E14, E16, and E18 (cyan and purple clusters are distinct).
Harmony v2.0.3 (default, stop @ 2 iter):​ Some mixing occurs but significant batch structure remains.
v2.0.3 (e=0.0001, stop @ 3 iter): slightly improved.
v2.0.3 (early_stop=False, max_iter=20):​ significantly improved, but the batches remain partially separated.
v2.0.3 (early_stop=False, max_iter=50):​ the integration effectiveness does not improve substantially compare to 20 iter.
Harmony v1.2.4 (default, stop @ 2 iter):​ Achieves much better mixing, with batches overlapping significantly more than in v2.0.3.
code for install harnomy v1.2.4:
remove.packages("harmony")
[install.packages('https://cran.r-project.org/src/contrib/Archive/harmony/harmony_1.2.4.tar.gz')](remotes::install_version("harmony", version = "1.2.4", repos = "https://cran.r-project.org"))

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions