Skip to content

Batch correction - strange convergence #30

@hanbin973

Description

@hanbin973

Hi, I found out something strange when using batch correction.
These are the two result from Muraro (pancreas) and MacParland (liver) datasets.
This is from Muraro
image
and this is from Macparland
image
Each had 4 and 5 donors respectively.
The commnad I used is the following:

RunGLMPCA(obj, X=model.matrix(as.formula('~factor(batch)'))

The result is less strange when I remove the batch covariate matrix X from the model but the result is without batch correction.
For example, the Muraro et al.'s pancreas dataset
image
the batch effect is present (in orange) but the overall result look less weird.

Any solutions possible at this time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions