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)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.