Learn R Programming

macat (version 1.40.0)

discretize: 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 gene-wise (location-wise) 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'.

See Also

discretizeAll