Load a metaphlan format data.frame
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.