Trans_to_microeco: Convert a LorMe object to a microeco object

View source: R/Trans_to_microeco.R

Trans_to_microecoR Documentation

Convert a LorMe object to a microeco object

Description

Convert a LorMe object to a microeco object

Usage

Trans_to_microeco(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 microtable object.

Examples

## Not run: 
data("Two_group")

Two_group_microeco=Trans_to_microeco(Two_group)

t1 <- trans_abund$new(dataset = Two_group_microeco, taxrank = "Phylum", ntaxa = 10)
t1$plot_bar(others_color = "grey70",
            legend_text_italic = FALSE) +
            theme(axis.title.y = element_text(size = 18)) #Just to show it can be used for analysis

## End(Not run)

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