addGqueryCycle: Add target cycle to a Griffin query.

Description Usage Arguments Value Examples

View source: R/createQueryAttractors.R

Description

Add a target cyclic attractor to a Griffin query. The function takes a dataframe with the states of the cycle where wach row corresponds to a state in order and each column corresponds to a node of the network The valid values are: 1: active 0: inactive *: non-determined

Usage

1
addGqueryCycle(j.query, df.cycle)

Arguments

j.query

Griffin query

df.cycle

dataframe with cycle

Value

query java query to run Griffin

Examples

1
2
3
cycle = data.frame(a=c(0,0), b=c(0,1), c=c(1,0),
                  stringsAsFactors = F )
q = addGqueryCycle(q, cycle)

mar-esther23/rgriffin documentation built on Nov. 21, 2020, 7:42 p.m.