bedCall: Call a function on the BED graph

View source: R/bedCall.R

bedCallR Documentation

Call a function on the BED graph

Description

Call a function on the BED graph

Usage

bedCall(f, ..., bedCheck = FALSE)

Arguments

f

the function to call

...

params for f

bedCheck

check if a connection to BED exists (default: FALSE).

Value

The output of the called function.

See Also

checkBedConn

Examples

## Not run: 
result <- bedCall(
   cypher,
   query=prepCql(
      'MATCH (n:BEID)',
      'WHERE n.value IN $values',
      'RETURN n.value AS value, n.labels, n.database'
   ),
   parameters=list(values=c("10", "100"))
)

## End(Not run)


patzaw/BED documentation built on April 25, 2024, 10:19 a.m.