useModel {RNAmodR.ML} | R Documentation

## ModifierMLModel virtual class

### Description

The `ModifierMLModel` is a virtual class and is used for representing different types of machine learning models used in the detection of post transcriptional modifiations in RNA sequencing data.

The next class inheriting from here should only implement a certain type of model and also be virtual. The grand child of the `ModifierMLModel` class should than implement a specific model for detecting certain types of modifications.

### Usage

    useModel(x, y)

    ## S4 method for signature 'ModifierMLModel,ANY'
    useModel(x, y)

### Arguments

`x` | a `ModifierMLModel` object
`y` | See `ModifierMLranger` for an example

### Value

a `ModifierMLModel` object

### Slots

`model`

  a machine learning object of any type

### See Also

`ModifierMLranger` `ModifierMLkeras`

`ModifierMLranger` for an example implementation

### Examples

    # an example implementation of a ModifierMLModel object using the
    # ModifierMLModel derived class ModifierMLranger
    setClass("ModifierMLexample",
             contains = c("ModifierMLranger"))
    ModifierMLexample <- function(...){
      new("ModifierMLexample")
    }

[Package RNAmodR.ML version 1.2.1 Index]