zero2NA: Convert the value <=0 to NA

Description Usage Arguments Value Author(s) Examples

Description

Convert the value <=0 to NA

Usage

1
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 wenbo@genomics.cn

Examples

1
2
3
4
5
6
7
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)

metaX documentation built on Oct. 5, 2016, 4:41 a.m.

Related to zero2NA in metaX...