testCliqueAsGroup: Tests whether a given group is mutually exclusive

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

testCliqueAsGroup tests whether a group, given as gene indices, is mutually exclusive.

Usage

1
testCliqueAsGroup(geneIdx, mat, lo)

Arguments

geneIdx

vector of indices in the input matrix of the genes to be tested

mat

binary alteration matrix, with rows representing patients and columns representing genes

lo

rate of observation time. Default is 1.

Details

For deciding whether a group is mutually exclusive, the group of genes is fitted to both the Null (Conditional Independence) and the Mutual Exclusivity models. Parameters under the two models are estimated, and, since they are nested, a likelihood ratio test is performed between the corresponding log likelihoods, in order to test whether mu (the intensity of mutual exclusivity) is different from 0. For computing the likelihood of the data under both models, an exhaustive enumeration of all possible orders of the input alterations needs to be performed. Therefore, the complexity of the test is exponential in the number of genes to be tested, which makes it unfeasible for large number of genes (usually more than 10).

lo (the rate of observation time) is by default set to 1, as both models are otherwise unindentifiable. We recommend leaving the value of this parameter unchanged, as otherwise the estimated waiting time rates of the genes require additional interpretation.

For more details on the TiMEx procedure, as well as on the underlying mathematical model, see Constantinescu et al.: TiMEx: A Waiting Time Model for Mutually Exclusive Cancer Alterations. Bioinformatics (2015).

Value

List consisting of:

Author(s)

Simona Cristea, scristea@jimmy.harvard.edu

References

Constantinescu et al.: TiMEx: A Waiting Time Model for Mutually Exclusive Cancer Alterations. Bioinformatics (2015).

See Also

the wrapper function TiMEx for identifying mutually exclusive groups in a binary dataset with the TiMEx model.

Examples

1
2
3
4
# Tests for mutual exclusivity the group of genes with indices 13, 204, and 
# 310 in the ovarian cancer dataset
data(ovarian)
testGroup<-testCliqueAsGroup(c(13,204,310),ovarian)

cbg-ethz/TiMEx documentation built on May 13, 2019, 1:50 p.m.