ModifierMLModel-class: ModifierMLModel virtual class

Description Usage Arguments Value Slots See Also Examples

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

1
2
3
4
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

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

RNAmodR.ML documentation built on Nov. 8, 2020, 6:40 p.m.