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

Create unit test to exercise batch correction with both a batch and main effect. #22

Open
lianos opened this issue Apr 3, 2023 · 0 comments
Assignees

Comments

@lianos
Copy link
Member

lianos commented Apr 3, 2023

This was a "TODO"-like item in the unit tests (test-remove-batch-effect.R), but moving it to here:

test_that("including `main` with `batch` works as expected", {
  # TODO: compare batch correction using airway dataset. It seems like including
  # `main = "cell"` doesn't have any effect, as it is being performed in the
  # FacileAnalysis,FacileAnalysis-RNAseq.Rmd vignette
  #
  # Shouldn't these two be different?
  # bc.1 <- remove_batch_effect(airway, batch = "cell")
  # bc.2 <- remove_batch_effect(airway, batch = "cell", main = "dex")
})
@lianos lianos self-assigned this Apr 3, 2023
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