zero2NA: Convert the value <=0 to NA

zero2NAR Documentation

Convert the value <=0 to NA

Description

Convert the value <=0 to NA

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

Author(s)

Bo Wen wenbostar@gmail.com

Examples


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)


wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.