Replaces all values in the peak table 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.
Arguments
- object
a
SummarizedExperiment
orMetaboSet
object- value
the value to be converted to NA
- assay.type
character, assay to be used in case of multiple assays
- name
character, name of the resultant assay in case of multiple assays
Value
SummarizedExperiment or MetaboSet object as the one supplied, with missing values correctly set to NA.
Examples
data(example_set)
nas_marked <- mark_nas(example_set, value = 0)