addGqueryTrapspace: Add a trapspace to a Griffin query.

Description Usage Arguments Value Examples

View source: R/createQuery.R

Description

Add a trapspace to a Griffin query. The function takes a dataframe with the trapspace where the row corresponds to it each column corresponds to a node of the network The valid values are: 1: active 0: inactive *: non-determined

Usage

1
addGqueryTrapspace(j.query, df.trapspace)

Arguments

j.query

Griffin query

df.trapspace

dataframe with valid trapspace

Value

query java query to run Griffin

Examples

1
2
3
trap = data.frame(a=c(1), b=c('*'), c=c('*'),
                  stringsAsFactors = F )
q = addGqueryTrapspace(q, trap)

mar-esther23/rgriffin documentation built on May 29, 2021, 10:03 p.m.