na_to_unclassified: Convert NA classifications to the their highest successful...

View source: R/helper_functions.R

na_to_unclassifiedR Documentation

Convert NA classifications to the their highest successful classification

Description

Convert NA classifications to the their highest successful classification

Usage

na_to_unclassified(x, sep = "__", rownames = TRUE, quiet = FALSE)

Arguments

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

See Also

unclassified_to_na


alexpiper/seqateurs documentation built on July 9, 2023, 7:21 a.m.