Skip to content

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

@lianos

Description

@lianos

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")
})

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions