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)
}
elldc/CellTrails documentation built on May 16, 2020, 4:40 a.m.