simulateGenes: Generates data from the TiMEx model

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

Description

simulateGenes returns a list containing a binary matrix simulated from the TiMEx model, for given lambdas (exponential rates), mu (intensity of mutual exclusivity), and N (sample size).

Usage

1
simulateGenes(lambdas, mu, N)

Arguments

lambdas

vector of exponential rates (positive real numbers). The length of the vector equals the number of simulated genes.

mu

intensity of mutual exclusivity (real number between 0 and 1). Default is 1 (perfect mutual exclusivity).

N

sample size (positive integer).

Details

This function needs permutations in order to run.

For details on how the values of the exponential rates correspond to frequencies, see References below.

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, ovarian, breast, and gbmDendrix for examples of biological large cancer datasets.

Examples

1
simGenes<-simulateGenes(c(0.5,1,0.3),0.8,4000)

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