ModifierMLkeras-class {RNAmodR.ML} | R Documentation

## ModifierMLkeras class

### Description

The `ModifierMLkeras` class extends the virtual class `ModifierMLModel` and unifies the access to `Keras` machine learning models used in the detection of post-transcriptional modifications in RNA sequencing data. The `ModifierMLkeras` class is virtual itself and must be extended from for each individual machine learning model.

The `ModifierMLkeras` class extends the virtual class `ModifierMLModel` and unifies the access to `Keras` machine learning models used in the detection of post-transcriptional modifications in RNA sequencing data. The `ModifierMLkeras` class is virtual itself and must be extended from for each individual machine learning model.

Since a stored model needs to be loaded from file, the additional slot `modelFile` is used and can be accessed through a function of the same name. Upon creation of a `ModifierMLkeras` object, the model is loaded from file, if `modelFile` is not an empty character value and a valid file name.

### Usage

    ## S4 method for signature 'ModifierMLkeras,ModifierML'
    useModel(x, y)

### Arguments

`x` | a `ModifierMLkeras` object
`y` | a `ModifierML` object

### Value

a `ModifierMLkeras` object

### Slots

`modelFile`

  a `character` vector of length == 1L, which describes a model to load via `load_model_hdf5`. The model is then stored in the `model` slot.

### See Also

`ModifierMLModel`

[Package RNAmodR.ML version 1.1.3 Index]