d.t.transform: Transform a datamatrix and replace zero

Description Usage Arguments Value Examples

Description

Do any of the two following function : Replace zero by the minimum value divided by 2 and/or tranform data with Trans.fun function (by default log2).

Usage

1
2
d.t.transform(data, ZvalL = F, PercZ = 1, RepZeroL = T, RepNAL = F,
  Log2L = T)

Arguments

data

a data.table with first column as row IDs

ZvalL

Should Zero val column be deleted ?

PercZ

Prop of zero value above which deletion is made

RepZeroL

Should remaining zero be replaced by half of minimum value ?

RepNAL

Should remaining NA be replaced by half of minimum value ?

Log2L

Should log2 transform be done

Value

The resulting data.table only

Examples

1

Mystilivia/SDjoygret documentation built on May 7, 2019, 5:17 p.m.