computeUnivariateTernaryMatrix: Compute the ternary matrix with digitized divergence coding

Description Usage Arguments Value Examples

View source: R/main.R

Description

Function for obtaining the ternary form for a matrix of data given a baseline range

Usage

1

Arguments

Mat

Matrix of data to be digitized (usually in quantiles), with each column corresponding to a sample and each row corresponding to a feature

Ranges

A data frame containing the baseline range of each features; this corresponds to the 'Ranges' element of the output of findUnivariateGammaWithSupport() and computeUnivariateSupport()

Value

A matrix with the same dimensions as Mat containing the ternary form data.

Examples

1
2
3
data(divergence)
S = computeUnivariateSupport(computeQuantileMatrix(breastTCGA_Mat[, breastTCGA_Group=="NORMAL"]))
T = computeUnivariateTernaryMatrix(Mat=computeQuantileMatrix(breastTCGA_Mat[, breastTCGA_Group!="NORMAL", ]), Ranges=S$Ranges)

wikum/divergence documentation built on Feb. 24, 2018, 3:35 p.m.