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

Description Usage Arguments Value Author(s) Examples

View source: R/feature_module.R

Description

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

Usage

1

Arguments

featcol

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

Value

modified featcol

Author(s)

Janina Reeder

Examples

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

microbiomeExplorer documentation built on Nov. 8, 2020, 8:16 p.m.