replaceWithUnknown: Helper function to replace any un-annotated features with the...

View source: R/feature_module.R

replaceWithUnknownR 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)


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.