tests/testthat/test_gettax.R

context("get_taxadf work")
test_that("get_taxadf work",{
    library(phyloseq)
    dir <- system.file("extdata", package="phyloseq")
    richph <- import_biom(file.path(dir,"rich_dense_otu_table.biom"))
    phyda <- get_taxadf(richph, taxlevel=2)
    expect_true(is(phyda, "phyloseq"))
})  

Try the MicrobiotaProcess package in your browser

Any scripts or data that you put into this service are public.

MicrobiotaProcess documentation built on April 18, 2021, 6 p.m.