Expression.evaluate: Expression.evaluate

Description Usage Arguments References Examples

View source: R/annotation.R

Description

Evaluate a SolveBio expression.

Usage

1
2
Expression.evaluate(expression, data_type = "string", is_list = FALSE,
  data = NULL, raw = FALSE, env = solvebio:::.solveEnv)

Arguments

expression

The SolveBio expression string.

data_type

The data type to cast the expression result (default: string).

is_list

Set to TRUE if the result is expected to be a list (default: FALSE).

data

Variables used in the expression (default: NULL).

raw

Set to TRUE to return the raw response (default: FALSE).

env

(optional) Custom client environment.

References

https://docs.solvebio.com/

Examples

1
2
3
4
## Not run: 
Expression.evaluate("1 + 1", data_type="integer", is_list=FALSE)

## End(Not run)

solvebio documentation built on Oct. 25, 2018, 5:04 p.m.