getSolverNames: Retrieve the solver names from an EnsembleSolver object

getSolverNames,EnsembleSolver-methodR Documentation

Retrieve the solver names from an EnsembleSolver object

Description

Retrieve the solver names from an EnsembleSolver object

Usage

## S4 method for signature 'EnsembleSolver'
getSolverNames(obj)

Arguments

obj

An object of class Solver

Value

The vector of solver names associated with an EnsembleSolver object

Examples

# 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)

PriceLab/trena documentation built on March 16, 2023, 10:01 a.m.