MicrobiomeStat Tutorial
  • Track, Analyze, Visualize: Unravel Your Microbiome's Temporal Pattern with MicrobiomeStat.
  • INTRODUCTION
    • Exploring MicrobiomeStat: A Consideration for Your Research Toolkit
  • Setting Up MicrobiomeStat: Installation and Data Preparation
    • Installation Guide
    • Creating the MicrobiomeStat Data Object
      • Building MicrobiomeStat from Matrix and Data.frame
      • Converting Data from Phyloseq into MicrobiomeStat
      • Importing Data from QIIME2 into MicrobiomeStat
      • Importing Data from BIOM into MicrobiomeStat
      • Converting SummarizedExperiment into MicrobiomeStat
      • Converting DGEList Data into MicrobiomeStat
      • Converting DESeqDataSet into MicrobiomeStat
      • Importing Data from DADA2 into MicrobiomeStat
      • Importing Data from Mothur into MicrobiomeStat
  • Single-Point Analysis
    • Introduction
    • Alpha Diversity Analysis
    • Beta Diversity Analysis
    • Feature-level Analysis
    • One-Click Reports Generation
  • Paired Samples Analysis
    • Introduction
    • Alpha Diversity Analysis
    • Beta Diversity Analysis
    • Feature-level Analysis
    • One-Click Reports Generation
  • Longitudinal Analysis
    • Introduction
    • Alpha Diversity Analysis
    • Beta Diversity Analysis
    • Feature-level Analysis
    • One-Click Reports Generation
  • Data Manipulation and Transformation
    • Data Summary
    • Data Aggregation
    • Data Normalization
    • Data Filtering
    • Data Validation
    • Data Combination
    • Metadata Management
    • Color Palette
  • Frequently Asked Questions (FAQ)
    • General FAQs
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Setting Up MicrobiomeStat: Installation and Data Preparation
  2. Creating the MicrobiomeStat Data Object

Importing Data from QIIME2 into MicrobiomeStat

This guide provides a step-by-step method for importing QIIME2 data into the MicrobiomeStat data object.

PreviousConverting Data from Phyloseq into MicrobiomeStatNextImporting Data from BIOM into MicrobiomeStat

Last updated 1 year ago

Was this helpful?

This guide details the process to import QIIME2 data into MicrobiomeStat's required data object.

The provided files represent essential QIIME2 artifacts and metadata required for microbiome data analysis:

# Define paths to your QIIME2 files
# NOTE: Update these paths to point to the location of the files on your computer.
otuqza_file <- "path_to_your_directory/table.qza"
taxaqza_file <- "path_to_your_directory/taxonomy.qza"
sample_file <- "path_to_your_directory/sample-metadata.tsv"
treeqza_file <- "path_to_your_directory/tree.qza"

# Import QIIME2 data into a MicrobiomeStat data object
data.obj <- mStat_import_qiime2_as_data_obj(
    otu_qza = otuqza_file, 
    taxa_qza = taxaqza_file,
    sam_tab = sample_file, 
    tree_qza = treeqza_file
)

The function mStat_import_qiime2_as_data_obj efficiently transforms QIIME2 datasets into the data format required by MicrobiomeStat. Here's a breakdown of the input parameters:

  • otu_qza: This file represents your feature table, containing the abundance data of microbial features across samples.

  • taxa_qza (Optional): This is the taxonomy assignment table which provides taxonomic classifications for the microbial features.

  • sam_tab (Optional): The sample metadata table offers details about the samples.

  • tree_qza (Optional): A phylogenetic tree depicting the evolutionary relationships of the microbial features.

Ensure that you have the correct file paths and all required dependencies installed before initiating the conversion process.

53KB
table.qza
This artifact contains the feature table, which is a summary of the observed microbial features (e.g., OTUs, ASVs) across different samples. QIIME2 users typically recognize it as their primary count or abundance matrix.
90KB
taxonomy.qza
This artifact holds taxonomic assignments for each microbial feature, allowing users to determine the classification of observed features at various taxonomic ranks (e.g., kingdom, phylum, class).
2KB
sample-metadata.tsv
A tab-separated values (TSV) file detailing the metadata associated with each sample. Metadata might include sample conditions, treatments, or any other annotations pertinent to the study.
64KB
tree.qza
A phylogenetic tree artifact representing the evolutionary relationships between microbial features. This tree is crucial for various phylogenetic diversity metrics and analyses within QIIME2.
This output showcases the data paths and structure of the converted data_obj from QIIME2 to MicrobiomeStat format. Displayed paths indicate the location of QIIME2 files on a local machine. The str(data_obj) function in R reveals the organized structure of the data_obj list, detailing its various components such as feature.tab, meta.dat, feature.ann, and the phylogenetic tree. Each component houses relevant microbiome data ready for analysis using MicrobiomeStat.