Trans_to_phylo: Convert a LorMe object to a phyloseq object

View source: R/Trans_to_phylo.R

Trans_to_phyloR Documentation

Convert a LorMe object to a phyloseq object

Description

Convert a LorMe object to a phyloseq object

Usage

Trans_to_phylo(taxobj, use_reads = TRUE)

Arguments

taxobj

A LorMe object (usually generated by tax_summary).

use_reads

Logical. FALSE (default) uses relative abundance (Base_percent); TRUE uses raw counts (Base).

Value

A phyloseq object containing otu_table, sample_data, tax_table and optionally phy_tree (only if taxobj has a tree).

Examples

## Not run: 
data("Two_group")

Two_group_phylo=Trans_to_phylo(taxobj = Two_group,use_reads = F)

plot_bar(Two_group_phylo,fill="Phylum") #Just to show it can be used for analysis

## End(Not run)

LorMe documentation built on Jan. 12, 2026, 9:06 a.m.