Description Usage Arguments Details Value Author(s)
drawSamples
generates samples form a pathTiMEx model
1 | drawSamples(m, model)
|
m |
number of samples to be simulated |
model |
the pathTiMEx model, as a list, as returned by the functions
which generate data: |
This function generates a binary matrix on the level of genes from the pathTiMEx model, as well as various other features of the model, such as the waiting times to alteration, the observation times etc.
list consisting of
XGenes
binary matrix with the simulated observations on the
level of genes, including noise. Rows represent samples and columns
represent genes.
XGenesClean
binary matrix with the simulated observations on
the level of genes, before noise was added. Rows represent samples and
columns represent genes.
XPathwaysClean
binary matrix with the simulated observations
on the level of pathways, before noise was added. Rows represent samples
and columns represent pathways.
TGenes
matrix with the waiting times of the genes. Rows
represent samples and columns represent genes.
TPathways
matrix with the waiting times of the pathways. The
waiting time of each pathway equals the minimum waiting time of its gene
members. Rows represent samples and columns represent pathways.
Tobs
vector with the observation times. For each sample,
an independent observation time is drawn exponentially.
ZGenes
matrix with the independent exponential components
contributing to the waiting times of the genes. Rows represent samples
and columns represent genes.
m
number of samples
model
structure with details about the model, s.a. waiting
time rates, poset etc. This type of structure is returned by the functions
whcih generate pathTiMEx models: generateRandomModel
,
generateFixedModel
and generateStructureModel
.
Simona Constantinescu, simona.constantinescu@bsse.ethz.ch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.