doMaxCliques: Identifies maximal cliques from pairwise testing information

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

Description

doMaxCliques performs step 2 of the TiMEx procedure: identifies maximal cliques using information from pairwise testing. The maximal clique detection routine only uses the connections between gene pairs which satisfy the thresholds on mu (pairMu) and pvalue (pairPvalue).

Usage

1
doMaxCliques(pairs, pairMu, pairPvalue)

Arguments

pairs

list resulting after pairwise testing, as returned by analyzePairs

pairMu

pair-level threshold on mu (real number between 0 and 1). Default is 0.5.

pairPvalue

pair-level threshold on p-value (real number between 0 and 1). Default is 0.01.

Details

In the second step, the TiMEx procedure for identifying mutually exclusive groups of alterations detects maximal cliques using pairwise testing information from step 1. A graph is constructed, in which genes are vertices, and an edge is drawn between any pair (i,j) if both the estimated intensity of mutual exclusivity and the computed p-value satisfy the chosen thresholds pairMu and pairPvalue. Maximal cliques are detected on this graph.

The two thresholds can be set by the user, and are recommended to be chosen based on the sensitivity and specificity levels to which they correspond, as assessed in simulated data. For details, see 'TiMEx: A Waiting Time Model For Mutually Exclusive Cancer Alterations', by Constantinescu et al. (2015). The default values are 0.5 for pairMu and 0.01 for pairPvalue.

This function needs functions from the packages RBGL and igraph to run.

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

analyzePairs for step 1 of the TiMEx procedure; findSignifCliques for step 3 of the TiMEx procedure; the wrapper function TiMEx for combining these three steps, and identifying mutually exclusive groups in a binary dataset with the TiMEx model.

Examples

1
2
3
4
5
6
7
# First, test all pairs from the ovarian cancer dataset for mutual 
# exclusivity (take approximately 5 minutes) 
data(ovarian)
ovarianPairs<-analyzePairs(ovarian)

# Then, identify all maximal cliques using the default thresholds
ovarianMaxCliques<-doMaxCliques(ovarianPairs)

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