Description Usage Arguments Value Examples
Retrieve the solver names from an EnsembleSolver object
1 2 | ## S4 method for signature 'EnsembleSolver'
getSolverNames(obj)
|
obj |
An object of class Solver |
The vector of solver names associated with an EnsembleSolver object
1 2 3 4 5 6 7 | # Create a Solver object using the included Alzheimer's data and retrieve the regulators
load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
targetGene <- "MEF2C"
candidateRegulators <- setdiff(rownames(mtx.sub), targetGene)
solver <- EnsembleSolver(mtx.sub, targetGene, candidateRegulators,
solverNames = c("lasso","randomForest"))
solver.names <- getSolverNames(solver)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.