useModel {RNAmodR.ML} | R Documentation |
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.
useModel(x, y) ## S4 method for signature 'ModifierMLModel,ANY' useModel(x, y)
x |
a |
y |
See |
a ModifierMLModel
object
model
a machine learning object of any type
ModifierMLranger
ModifierMLkeras
ModifierMLranger
for an example implementation
# an example implementation of a ModifierMLModel object using the # ModifierMLModel derived class ModifierMLranger setClass("ModifierMLexample", contains = c("ModifierMLranger")) ModifierMLexample <- function(...){ new("ModifierMLexample") }