Skip to contents

Reads a tab-separated MetaPhlAn output file and constructs a metaphlanProfile object. The input file should contain taxonomic abundance data with columns for clade name and sample abundances.

Usage

load_metaphlan(file_path)

Arguments

file_path

A character string containing the path to the file to read.

Value

An object of class metaphlanProfile.

Examples

file_path <- system.file("extdata", "merged_abundance_table.txt", package = "microEDA")

mtp <- load_metaphlan(file_path)