chmBindFunction-method: Bind values to an existing JS function.

chmBindFunctionR Documentation

Bind values to an existing JS function.

Description

Create a new JS function by binding values to extra parameters of an existing JS function.

Usage

chmBindFunction(name, fn, bindings)

## S4 method for signature 'character,ngchmJS,list'
chmBindFunction(name, fn, bindings)

## S4 method for signature 'character,character,list'
chmBindFunction(name, fn, bindings)

Arguments

name

A single character string specifying the name of the function.

fn

An object of class 'ngchmJS' representing the function to be bound.

bindings

A list containing at least one parameter binding. Each list element binds one parameter, starting from the first unbound parameter, and the name of each list element must match the name of the corresponding parameter.

Value

A new 'ngchmJS' object representing the bound function.

See Also

chmNewFunction()


MD-Anderson-Bioinformatics/NGCHM-R documentation built on April 1, 2024, 12:34 p.m.