You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
hellowangqian
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?
Aug 17, 2023
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
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.
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?
The text was updated successfully, but these errors were encountered: