ColumnParameterMapping Class

Format

An R6Class generator object

Public fields

column_name

character

param

Parameter

Methods


Method new()

Create ColumnParameterMapping

Usage

ColumnParameterMapping$new(column_name, param, ...)

Arguments

column_name

Column name.

param

Parameter defining the column.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

ColumnParameterMapping$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

ColumnParameterMapping$fromJSON(ColumnParameterMappingJson)

Arguments

ColumnParameterMappingJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

ColumnParameterMapping$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

ColumnParameterMapping$fromJSONString(ColumnParameterMappingJson)

Arguments

ColumnParameterMappingJson

JSON string


Method toDataFrame()

Serialize to data frame

Usage

ColumnParameterMapping$toDataFrame(type = "small_molecule")

Arguments

type

can be small_molecule, small_molecule_feature or small_molecule_evidence


Method fromDataFrame()

Deserialize from ColumnParameterMappingDataFrame

Usage

ColumnParameterMapping$fromDataFrame(ColumnParameterMappingDataFrame)

Arguments

ColumnParameterMappingDataFrame

data frame


Method clone()

The objects of this class are cloneable with this method.

Usage

ColumnParameterMapping$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.