Skip to content
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

Using ComBat-Seq to adjust for batch effect/ colony ID #27

Open
mastoldt opened this issue Jul 6, 2021 · 0 comments
Open

Using ComBat-Seq to adjust for batch effect/ colony ID #27

mastoldt opened this issue Jul 6, 2021 · 0 comments

Comments

@mastoldt
Copy link

mastoldt commented Jul 6, 2021

I am currently working on an RNA-Seq dataset with an unbalanced design and two factors: treatment and colony ID (I am working with social insects, so colony ID is important to control for because of pseudoreplication).
Unfortunately, the samples had been dissected and extracted on three different days and those are in line with the colony ID.

When I plot a PCA, I clearly see an influence of colony ID/ extraction day, so a potential batch effect I would like to remove, although I cannot be certain whether this is due to extraction day or colony ID.

That's where I found out about ComBat-Seq and I thought this might solve the problem I have by removing the strong batch effect from my data. But I am unsure whether afterwards, I still need to include colony ID into my DESeq2 model, because I have already removed the batch effect which is the same as colony ID. But in my case individuals from the same colony represent pseudoreplicates, so not controlling for colony ID seems a bit odd to me.

So, should I run

a) ComBat-Seq + DESeq2 (gene expression ~ treatment) or
b) ComBat-Seq + DESeq2 (gene expression ~ colony ID + treatment)

Thank you a lot in advance, I am happy for any feedback on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant