inst/unitTests/test_plotAMR.R

test_plotAMR <- function () {
  data(ramr)
  RUnit::checkEquals(
    length(plotAMR(ramr.data, ramr.samples, ramr.tp.nonunique)),
    length(GenomicRanges::reduce(ramr.tp.nonunique))
  )
  RUnit::checkEquals(
    length(plotAMR(ramr.data, NULL, ramr.tp.unique)),
    length(GenomicRanges::reduce(ramr.tp.unique))
  )
}
BBCG/ramr documentation built on Dec. 17, 2024, 3:49 p.m.