Converting SummarizedExperiment into MicrobiomeStat
A step-by-step guide on converting SummarizedExperiment data format for compatibility with MicrobiomeStat.
# Check if the 'airway' package is installed
if (!requireNamespace("airway", quietly = TRUE)) {
# If not installed, install 'airway'
BiocManager::install("airway")
}
# Load necessary libraries
library(airway)
# Use the provided 'airway' dataset as an example
data(airway)
# Convert the SummarizedExperiment object 'airway' into a MicrobiomeStat data object
airway_obj <- mStat_convert_SummarizedExperiment_to_data_obj(airway)
airway_obj data object, converted from the airway SummarizedExperiment dataset. The visualization showcases the primary components of the MicrobiomeStat data object, detailing its matrices and data frames derived from the original dataset.Last updated