test_that("checking PreFL", {
library(TreeSummarizedExperiment)
data('AD_data')
ad.count <- assays(AD_data$FullData)$Count # microbial count data
ad.filter.res <- PreFL(data = ad.count)
ad.zero.prob <- ad.filter.res$zero.prob
ad.filter <- ad.filter.res$data.filter
expect_is(ad.zero.prob, 'numeric')
expect_equal(round(ad.zero.prob, digits = 3), 0.633)
expect_is(ad.filter, 'matrix')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.