sampleMEPathways: Draws samples from a mutually exclusive pathway

Description Usage Arguments Details Value Author(s)

Description

sampleMEPathways simulates a group of mutually exclusive genes, for given waiting times of genes, observation time, intensity of mutual exclusivity and noise level.

Usage

1
sampleMEPathways(m, TGenesTrunc, Tobs, muTrunc, eps)

Arguments

m

number of samples to simulate, as a positive integer

TGenesTrunc

matrix with waiting times of the genes; columns represent the genes, rows represent the samples

Tobs

vector of observation times, with length the number of samples

muTrunc

intensity of mutual exclusivity of the pathway to be simulated, real number between 0 and 1

eps

error rate at the level of genes, real number between 0 and 1

Details

In the case of perfect mutual exclusivity (mu=1), for each sample, only the gene with the waiting time can be mutated, and only if its waiting time is lower than the observation time.

Value

a binary matrix representing the simulated mutually exclusive group, with columns as genes and rows as samples

Author(s)

Simona Constantinescu, simona.constantinescu@bsse.ethz.ch


cbg-ethz/pathTiMEx documentation built on May 13, 2019, 2:03 p.m.