discretize {macat} | R Documentation |
'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).
discretize(data, chrom, label, margin = 10) discretizeChromosome(data, chrom, margin=10) discretizeOne(data, chrom, sample, margin=10)
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 |
returns a discretized expression matrix for all genes on the chromosomes in 'chrom' and all samples that have a label in 'label'.
MACAT development team