File: test_MEME.R

package info (click to toggle)
r-bioc-tfbstools 1.44.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 948 kB
  • sloc: xml: 1,137; ansic: 590; asm: 54; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
test_that("parseMEMEOutput", {
  memeOutput <- file.path(system.file("extdata", package="TFBSTools"),
                          "meme.output")
  ans <- parseMEMEOutput(memeOutput)
  expect_equal(length(ans$motifList), 5L)
  expect_equivalent(lengths(ans$motifList), c(17L, 5L, 2L, 5L, 2L))
  expect_equal(ans$motifEvalues, c(4.1e-09, 2.8e+02, 1.2e+03, 1.4e+03, 1.8e+03))
})