load_mpa_df: Load a metaphlan format data.frame

View source: R/phylogenetic.R

load_mpa_dfR Documentation

Load a metaphlan format data.frame

Description

Load a metaphlan format data.frame

Usage

load_mpa_df(mpa_df, sum_unidentified = TRUE, rank_prefixes = pc_rank_prefixes)

Arguments

mpa_df

metaphlan format data.frame, rownames are taxon, all value are numeric.

sum_unidentified

logical, whether to sum the unidentified reads to the correspond level.

rank_prefixes

a named vector of rank prefixes, default is pc_rank_prefixes.

Value

a list


pctax documentation built on Feb. 9, 2026, 9:06 a.m.