Skip to content

The error of harmony after subsetting data  #256

Open
@Carrey14

Description

@Carrey14

Hello,
Thanks for developing an excellent tool for batch correction.
When I used Harmony to correct batch between two datasets, I found that Harmony perfectly corrected the batch effects in the overall cell population.
大群1

However, when I extracted a small subset, such as the T cell population, and re-ran all the steps from scaling to Harmony on this subset, I observed that while samples from a single dataset integrated well, the T cells from the two datasets showed clear batch effects, resulting in two distinct T cell clusters corresponding to the original datasets. Why is this happening?How to solve this problem?
T2

Samples from all belong to one data set, and II belongs to another.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions