powered by
Convert a LorMe object to a phyloseq object
Trans_to_phylo(taxobj, use_reads = TRUE)
A phyloseq object containing otu_table, sample_data, tax_table and optionally phy_tree (only if taxobj has a tree).
phyloseq
otu_table
sample_data
tax_table
phy_tree
taxobj
A LorMe object (usually generated by tax_summary).
LorMe
tax_summary
Logical. FALSE (default) uses relative abundance (Base_percent); TRUE uses raw counts (Base).
FALSE
Base_percent
TRUE
Base
if (FALSE) { 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 }
Run the code above in your browser using DataLab