inst/scripts/zeller14.R

## code to prepare example dataset goes here
## can change dataset by replacing ZellerG_2014 with any other dataset

library(curatedMetagenomicData)
library(SummarizedExperiment)
exampledata <-
  curatedMetagenomicData("ZellerG_2014.metaphlan_bugs_list.stool",
                         counts = TRUE,
                         dryrun = FALSE)[[1]]
zeller14 <- as(exampledata, "SummarizedExperiment")
colData(zeller14) <- colData(zeller14)[, c(4,8)]
usethis::use_data(zeller14, overwrite = TRUE)

Try the lefser package in your browser

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

lefser documentation built on Nov. 8, 2020, 8:01 p.m.