inst/unitTests/test_plotTrajectoryFit.R

test_plotTrajectoryFit <- function() {
  data(exSCE)
  dat <- SingleCellExperiment(assay=list(logcounts=logcounts(exSCE)))
  RUnit::checkException(plotTrajectoryFit(dat)) #Empty
  ggp <- plotTrajectoryFit(exSCE)
  RUnit::checkTrue(length(ggp$layers) > 1)
}
elldc/CellTrails documentation built on May 16, 2020, 4:40 a.m.