Description Usage Arguments Value Examples
Add a mutant and a set of target steady-state attractors to a Griffin query. The function takes a vector of mutant nodes, a vector of its values and a dataframe with the target attractors for the mutant where wach row corresponds to a prohibited steady state and each column corresponds to a node of the network The valid values are: 1: active 0: inactive *: non-determined
1 | addGqueryMutant(j.query, mutant.nodes, mutant.values, df.mutant.attr)
|
j.query |
Griffin query |
mutant.nodes |
nodes whose value is fixed in the mutant |
mutant.values |
values of the nodes in the mutant |
df.mutant.attr |
dataframe with valid attractors |
query java query to run Griffin
1 2 3 4 5 6 7 8 9 10 11 12 13 | # one node mutant
mutant.node = c('c')
mutant.value = c(1)
mutant.attr = data.frame(a=c(0,1), b=c(0,0), c=c(1,1),
stringsAsFactors = F )
q = addGqueryMutant(q, mutant.node, mutant.value, mutant.attr)
# multiple node mutant
mutant.nodes = c('a','b')
mutant.values = c(0,0)
mutant.attrs = data.frame(a=c(0), b=c(0), c=c('*'),
stringsAsFactors = F )
q = addGqueryMutant(q, mutant.nodes, mutant.values, mutant.attrs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.