Skip to content

What's your thoughts on plate/batch-wise whitening for batch effect? #352

Open

Description

@hellowangqian

I'm thinking about the batch effect handling part of the code. What it does in the code is quite simple: learning the parameters with all DMSO data and applying the whitening model to all data (DMSO and treatments). My question is why not do this plate-wisely or batch-wisely for such plate/batch-effect correction?

Activity

  1. changed the title [-]What's your thoughts on plate-wise whitening for batch effect?[/-] [+]What's your thoughts on plate/batch-wise whitening for batch effect?[/+] on Aug 17, 2023
  2. Arkkienkeli commented on Aug 17, 2023

    @Arkkienkeli
    Member

    We do this transformation (sphering) after the features are extracted and aggregated to a well-level.
    See example here.

  3. hellowangqian commented on Aug 17, 2023

    @hellowangqian
    Author

    Thanks for your prompt reply, but my question is: in step 4 of the example, the dataframe "wells" contain well-level data of all plates, why not do the sphering for each plate separately? The pseudo-code is as follows:

    for plate in allPlates:
         do Sphereing on wells_from_this_plate
    concatenate Sphered wells_from_each_plate 
    
  4. Arkkienkeli commented on Aug 17, 2023

    @Arkkienkeli
    Member

    We specifically correct for plate variation.
    If you try to correct each plate separately, you are going to correct other confounding effects (for instance, well-position effects), though in this case you will have very few data points, so probably you will need to go down to image-level or single-cell level.
    I don't think we tried it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions