View source: R/dada_phyloseq.R
add_funguild_info | R Documentation |
Please cite Nguyen et al. 2016 (\Sexpr[results=rd]{tools:::Rd_expr_doi("doi:10.1016/j.funeco.2015.06.006")})
add_funguild_info(
physeq,
taxLevels = c("Kingdom", "Phylum", "Class", "Order", "Family", "Genus", "Species")
)
physeq |
(required): a |
taxLevels |
Name of the 7 columns in tax_table required by funguild |
This function is mainly a wrapper of the work of others.
Please make a reference to FUNGuildR
package and the associate
publication (\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.funeco.2015.06.006")}) if you
use this function.
A new object of class physeq
with Guild information added to
tax_table
slot
Adrien Taudière
plot_guild_pq()
if (requireNamespace("httr")) {
d_fung_mini <- add_funguild_info(data_fungi_mini,
taxLevels = c(
"Domain",
"Phylum",
"Class",
"Order",
"Family",
"Genus",
"Species"
)
)
sort(table(d_fung_mini@tax_table[, "guild"]), decreasing = TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.