Description Usage Arguments Details Value Author(s)
genRandomPoset
generates a random poset (partial
order at the level of pathways) with a given number of events (pathways)
and a given edge density.
1 | genRandomPoset(k, ldenses, trans_reduced = TRUE)
|
k |
number of events (pathways) |
trans_reduced |
boolean indicating whether the poset should be a
transitive reduction (default to |
ldense |
ratio between 0 and 1 indicating how dense (in terms of edges) the poset is |
The poset is a binary upper triangular matrix in which if
element [i,j]=1, then there is an order relation between i and j, i.e. event
i happens before or at the same time as event j. The
parameter ldenses
represents the fraction (between 0 and 1) of
edges from the maximal number of edges (which contains nr_muts choose 2
edges) to be included in the poset.
a poset (a binary upper triangular matrix)
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.