-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct more than two batches #36
Comments
I assume you mean you have two factors, of which each combination of levels is to be treated as a batch. If so, just paste the factors together. |
I tried that but that actually did not correct batches. Let's assume we have 4 datasets, A.B.C.D, where A and B are consist of patients and the others normal. Hope that there will be an update about this! Thank you! |
I don't understand your issue. If |
Batch between individual datasets and batch between patient vs normal is a different story. When correcting batches between datasets, differences among 4 datasets should be considered. When merging two batches as ["patient, "__normal], Indeed, it did not correct patient/normal batch. I hope it clarifies my idea.! |
If you don't want to correct the differences between A and B, then just set the "patient/normal" factor as your If this is not what you are referring to, then I would suggest preparing a minimum reproducible example before proceeding with any further discussion. |
Hello,
I am running fastMNN with data set that having 2 batches , 'dataset' and 'condition' .
I tried to correct both in once by specifying batch
fastMNN(combined,batch=c(combined$dataset, combined$condition), subset.row=chosen.hvgs)
but this does not work.
Is there a way to correct multiple batches?
Thank you :)
The text was updated successfully, but these errors were encountered: