Description Usage Arguments Details Value Examples
View source: R/format_phyloseq.R
Format the phyloseq object to add the best taxonomy in phyloseq object (tax_table).
1 |
x |
|
Most commonly it is observed that the taxonomy file has classification until a given taxonomic level.
Hence, to avoid loss of OTU information while using the function tax_glom() for merging at a specific taxonomic level.
we will fill the empty cells with the maximum classification available along with the OTU number. This code is a
slight modification of the code from ampvis phyloseq-class
.
Here, we directly take the phyloseq object as input and make the necessary formatting.
phyloseq-class
object.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.