Description Usage Arguments Examples
The function returns the annotation of the edges needed for the LP. Positive edges are annotated with "w+" and negative with "w-". The given nodes are just enumerated from 1 to n and the edge between node i and j is given by "w+_i_j" for the positive, respectively by "w-_i_j" for the negative edges. The annotation "w_i_^_0" defines the baseline activity of gene i.
1 | getEdgeAnnot(n, allpos)
|
n |
Integer: number of genes. |
allpos |
Logical: should all edges be positive? Corresponds to learning only activating edges. Default: FALSE. |
1 2 | n <- 5
annot <- getEdgeAnnot(n)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.