discretize {HiTC} | R Documentation

## Transform matrix of counts data into discrete matrix

### Description

Transform matrix of counts data into discrete matrix

### Usage

    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

    ## Not run:
    data(Nora_5C)

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

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

    ## End(Not run)

[Package HiTC version 1.24.0 Index]