Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.85 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.85 KB

R-CMD-check

microbiomeData

An R package containing all of the curated datasets from MicrobiomeDB.org and a helper function to list which datasets are available.

If you have questions or comments of any kind, join us on our Discord Community Server! We'd love to hear from you.

Installation

Use the R package remotes to install microbiomeData. From the R command prompt:

remotes::install_github('microbiomeDB/microbiomeData')

Usage

This package contains all of the curated datasets from MicrobiomeDB.org. It is an extension to the MicrobiomeDB R package which can be used to analyze and visualize these data. That package is installed and attached with this one.

Direct Usage

You can get a list of all curated datasets available within this package by doing the following:

microbiomeData::getCuratedDatsetNames()
myData <- microbiomeData::DiabImmune

Once you have your favorite dataset as myData, you can ask for specific collections from that dataset. A collection is any group of variables that represent a biologically coherent concept and are measured over a comparable range. Relative abundances at a specific taxonomic rank are an example. That might look something like:

getCollectionNames(myData) # will print the names of collections
myCollection <- getCollection(myData, '16S (V4) Species')

License

Apache 2.0