discretize: Transform matrix of counts data into discrete matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Transform matrix of counts data into discrete matrix

Usage

1
discretize(x, nb.lev=4, quant=TRUE)

Arguments

x

data matrix

nb.lev

number of discretization level

quant

logical; use quantile distribution or split data into equals 'nb.lev' levels

Value

A discrete matrix

Author(s)

N. Servant

See Also

quantile

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data(Nora_5C)

## Data binning
E14bin<-binningC(E14$chrXchrX)

## Discretize matrix
dismat<-discretize(intdata(E14bin))
mapC(dismat)

## End(Not run)

HiTC documentation built on Nov. 8, 2020, 8:27 p.m.