Description Usage Arguments Value See Also Examples
Returns a list of labels for a the involved states in a BoolNet attractor object using a set of labelling rules, returns a list of labels.
1 | labelAttractors(attr, label.rules, node.names = NULL, sep = "/")
|
attr |
Boolnet attractor object |
label.rules |
dataframe with labels (1st col) and rules (2nd col), if more than one rule is true all labels are appendedl the node names present in the rules must be in node.names |
sep |
string to separate the labels when more than one can be applied to the state, if NULL it will return the label of each state in a cycle separately if string it will paste the states of a cycle with sep |
List of strings corresponding to the label of the attractor, if an attractor has multiple states it will return a list of strings for that state.
labelState
which this function wraps
1 2 | attr <- getAttractors(net$genes)
labelAttractors(attr, net$genes, labels, rules, sep='')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.