mark_nas: Mark specified values as missing

View source: R/transformations.R

mark_nasR Documentation

Mark specified values as missing

Description

Replaces all values in the exprs part that equal the specified value with NA. For example, vendor software might use 0 or 1 to signal a missing value, which is not understood by R.

Usage

mark_nas(object, value)

Arguments

object

a MetaboSet object

value

the value to be converted to NA

Value

MetaboSet object as the one supplied, with missing values correctly set to NA

Examples

nas_marked <- mark_nas(merged_sample, value = 0)


antonvsdata/notame documentation built on Sept. 14, 2024, 11:09 p.m.