discretize: Discretize expression values

Description Usage Arguments Value Author(s) See Also

View source: R/discretescoring.R

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

1
2
3
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


macat documentation built on Nov. 8, 2020, 5:44 p.m.