inst/unitTests/test_plotStateSize.R

test_plotStateSize <- function() {
  data(exSCE)
  dat <- SingleCellExperiment(assay=list(logcounts=logcounts(exSCE)))
  RUnit::checkException(plotStateSize(dat)) #Empty
  ggp <- plotStateSize(exSCE)
  RUnit::checkTrue(length(ggp$layers) > 0)
}
dcellwanger/CellTrails documentation built on May 12, 2020, 2:01 a.m.