View source: R/helper_functions.R
na_to_unclassified | R Documentation |
Convert NA classifications to the their highest successful classification
na_to_unclassified(x, sep = "__", rownames = TRUE, quiet = FALSE)
x |
A matrix, data frame or phyloseq object |
sep |
The seperator between the rank, and the name i.e. G__Drosophila would be the default for an OTU that could only be assigned to the genus Drosophila |
rownames |
Whether rownames should be returned, or instead an OTU column |
quiet |
Whether progress should be printed to console |
unclassified_to_na
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.