MGnifyR: An R package for accessing MGnify microbiome data

Contents

  1. Bioconductor
  2. MGnifyR R package
  3. mia (Microbiome Analysis) within Bioconductor

Bioconductor

  • Community-driven open-source project
  • High-quality, tested statistical methods
  • Well-documented
Bioconductor logo.

SummarizedExperiment

(Huber et al. 2015)

Schematic of the SummarizedExperiment class: assays, rowData and colData

MGnify

MGnify logo European Nucleotide Archive (ENA) logo

MGnifyR

  • Fetch data from MGnify directly to SummarizedExperiment format
  • Bridges the gap between data resources and tools
The MGnify logo on the left, an arrow labelled with the MGnifyR logo, and the Bioconductor sticker on the right: MGnifyR bridges MGnify data into Bioconductor tools.

Demonstration

library("MGnifyR")

analyses <- searchAnalyses("MGYS00005154")

table(analyses[["pipeline_version"]])

# Keep only the analyses from the latest pipeline
analyses <- analyses[analyses[["pipeline_version"]] == "V5", ]

tse <- fetchAnalyses(analyses, samples = TRUE)
tse
class: TreeSummarizedExperiment 
dim: 19216 26 
metadata(0):
assays(1): counts
rownames(19216): 549322 522457 ... 200359 271582
rowData names(7): Kingdom Phylum ... Genus Species
colnames(26): CL3 CC1 ... Even2 Even3
colData names(7): X.SampleID Primer ... SampleType Description
reducedDimNames(0):
mainExpName: NULL
altExpNames(0):
rowLinks: a LinkDataFrame (19216 rows)
rowTree: 1 phylo tree(s) (19216 leaves)
colLinks: NULL
colTree: NULL

References

Huber, W., V. J. Carey, R. Gentleman, et al. 2015. “Orchestrating High-Throughput Genomic Analysis with Bioconductor.” Nature Methods 12 (2): 115–21. http://www.nature.com/nmeth/journal/v12/n2/full/nmeth.3252.html.