discretize {macat} | R Documentation

## Discretize expression values

### Description

'discretize' returns the discretized expression data for all chromosomes in chrom and all samples that have a label listed in label. Discretization is performed by comparing the value genewise (locationwise) with the symmetric upper and lower quantile given by margin (in percent margin/2 lower and upper quantile).

### Usage

    discretize(data, chrom, label, margin = 10)
    discretizeChromosome(data, chrom, margin=10)
    discretizeOne(data, chrom, sample, margin=10)

### Arguments

`data` | MACATData object
`chrom` | list of chromosomes
`label` | list of labels
`margin` | symmetric quantile in percent
`sample` | the sample for which you want discretized expression data

### Value

returns a discretized expression matrix for all genes on the chromosomes in 'chrom' and all samples that have a label in 'label'.

### Author(s)

MACAT development team

### See Also

`discretizeAll`

[Package macat version 1.10.0 Index]