RandomForestModel {MBMethPred}R Documentation

Random forest model

Description

A function to train a random forest model to classify medulloblastoma subgroups using DNA methylation beta values (Illumina Infinium HumanMethylation450). Prediction is followed by training if new data is provided.

Arguments

SplitRatio

Train and test split ratio. A value greater or equal to zero and less than one.

CV

The number of folds for cross-validation. It should be greater than one.

NTree

The number of trees to be grown.

NCores

The number of cores for parallel computing.

NewData

A methylation beta values input from the ReadMethylFile function.

Value

A list

Examples

set.seed(21)
rf <- RandomForestModel(SplitRatio = 0.8,
                        CV = 3,
                        NTree = 10,
                        NCores = 1,
                        NewData = NULL)

[Package MBMethPred version 0.1.4.2 Index]