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

Replace vst with batch removal #127

Closed
LeaSeep opened this issue Mar 13, 2023 · 3 comments
Closed

Replace vst with batch removal #127

LeaSeep opened this issue Mar 13, 2023 · 3 comments

Comments

@LeaSeep
Copy link
Collaborator

LeaSeep commented Mar 13, 2023

mat <- assay(vsd)
mm <- model.matrix(~condition, colData(vsd))
mat <- limma::removeBatchEffect(mat, batch=vsd$batch, design=mm)
assay(vsd) <- mat
plotPCA(vsd)
@PaulJonasJost
Copy link
Collaborator

Does VSD always have a batch, even if we did not Define one?

@LeaSeep
Copy link
Collaborator Author

LeaSeep commented Dec 18, 2023

No - not that I'm aware of

@LeaSeep
Copy link
Collaborator Author

LeaSeep commented Jun 28, 2024

solved by @PaulJonasJost in #195

@LeaSeep LeaSeep closed this as completed Jun 28, 2024
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

2 participants