View source: R/prop_tax_down.R
prop_tax_down | R Documentation |
tax_table
in a phylose
objectprop_tax_down
Takes the taxon assignment from the lowest assigned
level in an OTU's assignment and fills it in to all the lower, unresolved
fields.
prop_tax_down(physeq, indic, dbig = TRUE)
physeq |
a phyloseq object with a filled |
indic |
a flag to indicate if the taxon names have level indicators. If
FALSE, they are added. Just gets passed to |
dbig |
a flag to indicate whether genus names that exist in multiple families should be disambiguated by appending the family name. |
Often taxon cannot be assigned all the way down to genus from the limited information available from a given variable region of 16S (or other marker gene). If an OTU has been assigned to Order Enterobacteriales, but the Family and genus cannot be resolved, then the Family and Genus fields are left blank by QIIME. This function fills those fields with the string 'o_Enterobacteriales', so they are not parsed as NAs by ggplot and other functions.
A phyloseq object whose tax_table
has had NAs replaced
with the higher level taxon assignments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.