View source: R/RandomForestSolver.R
RandomForestSolver | R Documentation |
Create a Solver class object using the Random Forest solver
RandomForestSolver( mtx.assay = matrix(), targetGene, candidateRegulators, regulatorWeights = rep(1, length(candidateRegulators)), quiet = TRUE )
mtx.assay |
An assay matrix of gene expression data |
targetGene |
A designated target gene that should be part of the mtx.assay data |
candidateRegulators |
The designated set of transcription factors that could be associated with the target gene |
regulatorWeights |
A set of weights on the transcription factors (default = rep(1, length(candidateRegulators))) |
quiet |
A logical denoting whether or not the solver should print output |
A Solver class object with Random Forest as the solver
solve.RandomForest
, getAssayData
Other Solver class objects:
BicorSolver
,
EnsembleSolver
,
HumanDHSFilter-class
,
LassoPVSolver
,
LassoSolver
,
PearsonSolver
,
RidgeSolver
,
Solver-class
,
SpearmanSolver
,
XGBoostSolver
load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData")) targetGene <- "MEF2C" candidateRegulators <- setdiff(rownames(mtx.sub), targetGene) rf.solver <- RandomForestSolver(mtx.sub, targetGene, candidateRegulators)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.