replaceWithUnknown {microbiomeExplorer}R Documentation

Helper function to replace any un-annotated features with the term unknown

Description

Helper function to replace any un-annotated features with the term unknown

Usage

replaceWithUnknown(featcol)

Arguments

featcol

vector of entried to be replaced where needed (fData column)

Value

modified featcol

Author(s)

Janina Reeder

Examples

data("mouseData", package = "metagenomeSeq")
featcol <- fData(mouseData)[["genus"]]
featcol[featcol == "NA"] <- NA
replaceWithUnknown(featcol)


[Package microbiomeExplorer version 1.2.0 Index]