library(metaboData)
context('plotTIC')
test_that('plotTIC works',{
d <- new('Analysis')
raw(d) <- analysisData(abr1$neg[,300:400],abr1$fact)
pl_scatter <- plotTIC(d,by = 'injorder',colour = 'day',type = 'raw')
pl_boxplot <- plotTIC(d,by = 'day',colour = 'day',type = 'raw')
expect_s3_class(pl_scatter,'ggplot')
expect_s3_class(pl_boxplot,'ggplot')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.