Description Usage Arguments Value Examples
View source: R/createQueryAttractors.R
Add a dataframe with attractors to a Griffin query. The function takes a dataframe with the attractors where the first column corresponds to the attractor number and the second to the state, so that cyclic attractors can have multiple rows. the rest of the columns corresponds to the nodes of the network The valid values are: 1: active 0: inactive *: non-determined
1 | addGqueryAttractors(j.query, df.attr)
|
j.query |
Griffin query |
df.attr |
dataframe with attractors |
query java query to run Griffin
1 2 3 4 5 6 7 8 | data("cellcycle")
topology <- getNetTopology(cellcycle)
cc.attr <- getAttractors(cellcycle)
cc.attr <- attractorToDataframe(cc.attr)
q <- createGqueryGraph(topology, cellcycle$genes)
q <- addGqueryAttractors(q, cc.attr)
print(q)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.