unclassified_to_na: Convert classifications that are annotated with their highest...

View source: R/helper_functions.R

unclassified_to_naR Documentation

Convert classifications that are annotated with their highest successful classification back ot NA

Description

Convert classifications that are annotated with their highest successful classification back ot NA

Usage

unclassified_to_na(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

na_to_unclassified


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