Description Usage Arguments Value References See Also
Evaluate regression performance of a predictor by cross-validation.
1 2 3 4 | evaluateCV(mypredictor = c("predictorKMR", "predictorElasticNet",
"predictorLasso", "predictorRF"), celllines, celllinesKernel, chemicals,
chemicalsKernel, toxicity, nfolds = 5, nrepeats = 10, seed = 47,
mc.cores = 1, ...)
|
mypredictor |
Character indicating a predictor function. Possible options are KMR (default), ElasticNet, Lasso and RF. |
celllines |
Matrix of descriptors for |
celllinesKernel |
Kernel Gram matrix for |
chemicals |
Matrix of descriptors for |
chemicalsKernel |
Kernel Gram matrix for |
toxicity |
Matrix of toxicity values for |
nfolds |
Number of folds for cross-validation. Default is 5. |
nrepeats |
Number of times the k-fold cross-validation is performed. Default is 1. |
seed |
A seed number for the random number generator (useful to have the same CV splits). |
mc.cores |
Number of parallelable CPU cores to use. |
... |
Other arguments to pass to predictor function. |
A list with matrices of cross-validation performance scores.
Each score matrix is of dimension nexp x nchem
(per CV experiment, per chemical) where nexp=nfolds*nrepeats
and corresponds to one of the evaluation criteria:
matrix.ci |
Concordance index. |
matrix.rho |
Pearson correlation. |
Bernard, E., Jiao, Y., Scornet, E., Stoven, V., Walter, T., and Vert, J.-P. (2017). "Kernel multitask regression for toxicogenetics." bioRxiv-171298.
predictorKMR
, predictorElasticNet
, predictorLasso
, predictorRF
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.