Learn R Programming

metaX (version 1.4.0)

zero2NA: Convert the value

Description

Convert the value

Usage

zero2NA(x, valueID = "value", ...)

Arguments

x
An object of data
valueID
The name of the column which will be used
...
Additional parameters

Value

An object of metaXpara

Examples

Run this code

para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
para <- zero2NA(para)

Run the code above in your browser using DataLab