mark_nas: Mark specified values as missing

Description Usage Arguments Value Examples

View source: R/transformations.R

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

1
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

1
nas_marked <- mark_nas(merged_sample, value = 0)

antonvsdata/amp documentation built on Jan. 8, 2020, 3:15 a.m.