run.cross.validation: run.cross.validation

Description Usage Arguments Value Author(s)

View source: R/agePrediction.R

Description

This function performs 10-fold cross validation to estimate the performance of a newly trained predictor. If parallel.isEnabled(), the function perfoms cross validation in parallel. The function adds a table to the specified report containing the result of the 10-fold cross validation.

Usage

1
run.cross.validation(rnbSet, report, alpha = 0.8)

Arguments

rnbSet

a RnBSet object containing the methylation info and ages on which the new predictor should be trained

report

report to which the table should be added

alpha

alpha parameter used in the elastic net regression

Value

modified report object

Author(s)

Michael Scherer


RnBeads documentation built on March 3, 2021, 2 a.m.